Skip to content

User management tutorial

bryan brancotte edited this page Apr 25, 2022 · 2 revisions

The goal of this tutorial is to explain the life cycle of an object User in the IFB catalogue.

What is a User

A User object, represent a person. It has an email address, first and last name. This object allows to indicate who are the members of a team for example. A user with no specific permission can be removed if the object is not used anywhere.

Whoever have access to the email box of a User object can go to https://catalogue.france-bioinformatique.fr/admin/password_reset/ and change the password. Nevertheless, this personne will not yet be able to connect to the admin interface, this user need to be granted (see hereafter)

Adding a user

You can add a user from multiple location. When editing a team, you can click on the green plus, and add new User.

add-user-from-team-1

You can also add a User from https://catalogue.france-bioinformatique.fr/admin/ifbcat_api/userprofile/

Removing a user

A User object can be deleted from the database only if the object is not linked to any other instance (not member of any Team for example). To do so, go to https://catalogue.france-bioinformatique.fr/admin/ifbcat_api/userprofile/ select the user, and use the action Delete selected Users. You also can open the user, and click on Delete.

delete-user-1 delete-user-2

Granting permissions to a User

A User cannot access to https://catalogue.france-bioinformatique.fr/admin/ by default, even after a password reset. To allow a user to connect to the catalogue, go to https://catalogue.france-bioinformatique.fr/admin/ifbcat_api/userprofile/ select the Users you want to give new permission, and use the action created for this purpose. grant-user-1

Use the Grant permissions "Basic permissions for all admin" to allow in one clic a user to connect the admin interface, to see objects in the catalogue, and to create instance of shared class such as DOI, Edam terms, ...

Once the action applied, you get a summary of what have been done

grant-user-2

Revoking permissions to a User

To revoke permission, select the user and use the action.

The action Revoke permissions "Basic permissions for all admin" removing the permissions, but also remove the access to https://catalogue.france-bioinformatique.fr/admin/

revoke-user-1