Metadata
- Source
- VULAB-170
- Type
- New Feature
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Blake E
- Reporter
- Blake E
- Created
2009-02-17T13:58:15.000-0500 - Updated
2009-03-02T12:21:00.000-0500 - Versions
-
- 0.5B
- Fixed Versions
-
- 0.5
- Component
-
- Web
Description
To streamline the installation process, we are implementing a drupal style admin creation. The first user is automatically created as the super (aka root) user.
A small change to the signup.php process as well as manage.php will allow for this to happen.
Attachments
Comments
-
Blake E commented
2009-02-17T13:59:01.000-0500 vulab16
-
Blake E commented
2009-02-17T14:00:42.000-0500 This patches signup.php and manage.php to allow for the first user being the super user. This streamlines the installation process.
EDIT: I deleted the patch and I am using an alternative (and more secure/legit) method to create the first user as a superuser.
-
Blake E commented
2009-02-23T13:40:01.000-0500 Here is a better integration of the "first user being super user" style of installation
Features:
- First user only has option of being researcher and option has been renamed "Admin User"
- Super user check/saving is based on the 'designer' table where the realm is saved as "superuser"
- the User Object Class has been modified to add in the designer table into the objects properties. (This allows for the check of the researcher's realm)
- After first user has signed up, the options for researcher/tester are re-instituted and superusers will not be automatically created.
NOTE:
- currently system only allows for this first superuser creation and other super-users must be manually set in the database. (modify existing researchers privs in 'designer' table)