cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict other user login in nuxeo? Only administrator can login and access to nuxeo.

veera_
Champ on-the-rise
Champ on-the-rise

Hi,

I have a problem in nuxeo-5.3.1(JBoss).

Administrator can create users and groups in nuxeo.

Only administrator can login and access to nuxeo, other users should not login in nuxeo.

How to restrict other user login in nuxeo?

Can any one help me?

1 ACCEPTED ANSWER

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

You can contribute a specific login module that will implement your own access rules (like checking if user is an administrator.

Documentation is here for your version: http://community.nuxeo.com/5.3/books/nuxeo-book/html/auth-users-groups.html#authentication-framework and you can take example on default login modules even if they're probably implementing more complicated logics than what you need to do.

View answer in original post

8 REPLIES 8

Julien_Carsique
Elite Collaborator
Elite Collaborator

Why don't you want users to log in Nuxeo whereas the Administrator creates their accounts into Nuxeo?

veera_
Champ on-the-rise
Champ on-the-rise

Hi,

Julien_Carsique
Elite Collaborator
Elite Collaborator

The UIs you defined to expose features to users should not be used to manage security access to documents. You must set the right permissions on the documents to ensure a use have the wanted permissions on a given document, independently of the UI used.

If you need to store "common" documents, then you must describe more precisely your use case and probably store them somewhere else than in the default domain or workspace.

You can also use a specific HTTP configuration (in your HTTP server, ie. Apache) in order to forbid or restrict some URLs and redirect the users to the wanted URL (and its associated UI).

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

You can contribute a specific login module that will implement your own access rules (like checking if user is an administrator.

Documentation is here for your version: http://community.nuxeo.com/5.3/books/nuxeo-book/html/auth-users-groups.html#authentication-framework and you can take example on default login modules even if they're probably implementing more complicated logics than what you need to do.

Hi,

Look my answer here

Hi,

Hi bjalon, Julien Carsique & Anahide Tchertchian,

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.