cancel
Showing results for 
Search instead for 
Did you mean: 

'New User' button gone for admin user

jfrench
Champ in-the-making
Champ in-the-making
Can anyone think of why this would occur:

[1] I login to Alfresco (1.4) running as a portlet in JBoss Portal as the "admin" user.
[2] I navigate to the Manage Systems User page.
[3] Searching for users to edit works just fine
[4] But!! The "Create new user" button is NOT displayed.

I know that there used to be a "Create new user" button to the left of the "User details" button near the top of the alfresco window, but it doesn't appear anymore.

Can anyone tell me why the "Create new user" button would NOT appear even if I am an administrator?
5 REPLIES 5

gavinc
Champ in-the-making
Champ in-the-making
This will happen if you are using an external authentication mechanism i.e. LDAP. As users are not being maintained in the Alfresco database it does not make sense to be able to create users, hence the missing link.

jfrench
Champ in-the-making
Champ in-the-making
Thanks for your reply. This makes sense, however could you elaborate on exactly how Alfresco determines whether or not a particular installation is using an external authentication mechanism?

gavinc
Champ in-the-making
Champ in-the-making
Yes, a variable is placed in the http session that indicates that an external mechanism is being used. This variable is added by the NTLM authentication filter and the Novell iChains filter, so I'm presuming you're using one of these?

jfrench
Champ in-the-making
Champ in-the-making
Ahhh! Thanks Gavinc. This makes a lot of sense. I am using a Single Sign on solution that uses JOSSO and a apache bridges PortletFilter in Jboss Portal that I rolled myself. See details here: http://forums.alfresco.com/viewtopic.php?p=13165#13165

Because I copied some of my code for the PortletFilter from the NTLM Authentication Servlet Filter, the LoginBean.LOGIN_EXTERNAL_AUTH session attribute was being set to TRUE.

BTW: There is a bug in Alfresco in regard to the LoginBean.LOGIN_EXTERNAL_AUTH: Alfresco only checks for the presence/absence of the the LoginBean.LOGIN_EXTERNAL_AUTH session attribute instead of its value. This means that the attribute can equal Boolean.FALSE but NOT display the "Create user" button.

gavinc
Champ in-the-making
Champ in-the-making
Yes, you're quite right we don't check the value. I have raised this issue in JIRA: http://issues.alfresco.com/browse/AWC-1029