Project 'FDM/rdm-system/rdms' was moved to 'researchdata/rdms'. Please update any links and bookmarks that may still have the old path.
Creates rake for setup users
All threads resolved!
All threads resolved!
-
Adds a rake task to create users
-
The rake task can create users using any combination of
- database auth
- Shibboleth auth
- Orcid auth
-
Assign users to the following roles
- admin
- publication_manager
- crc_1280_manager
- crc_1280_member
- crc_1280_group_manager
- crc_1280_group_member
-
The list of possible attributes are
- password
- name
- saml_id
- orcid
- role
- group_id
Not all attributes are required. See the template file setup.json.template for the different combinations.
Roles
crc_1280_group_manager
andcrc_1280_group_member
needs the attributegroup_id
for the role to be assigned
-
-
setup_hyrax.rake now calls setup_users.rake to create users.
-
Seed files
- The seed file setup.json has been deleted and in place is a template seed file setup.json.template
- All files in the directory hyrax/seed will be ignored by git (except hyrax/seed/setup.json.template)
- NOTE: Make a copy of the file setup.json before pulling this change, if you would like to retain that file.
Edited by Anusha Ranganathan
Merge request reports
Activity
added Ready for review label
requested review from @anusha
assigned to @kapill65chhpatel
- Resolved by Anusha Ranganathan
added 1 commit
- d7ff93e6 - Improved rake task to add orcid and update users
mentioned in commit 332a726a
mentioned in merge request !124 (closed)
mentioned in issue #33 (closed)
mentioned in issue #34 (closed)
Please register or sign in to reply