Roundup Tracker - Issues

Issue 1155108

classification
catch-22 in customizing.html
Type: Severity: normal
Components: Documentation Versions:
process
Status: closed fixed
:
: : richard, stevebyan
Priority: normal :

Created on 2005-03-02 14:37 by stevebyan, last changed 2005-03-03 01:10 by richard.

Messages
msg1886 Author: [hidden] (stevebyan) Date: 2005-03-02 14:37
In the section "Using an external password validation source", if 
the external password source does not include an "admin" 
account, there is no way to log-in to give other accounts 
roundup admin privileges.

I hacked in the following change to the example script. Change


        # user doesn't exist in the file
        return 0

to

        # user doesn't exist in the file
        return LoginAction.verifyPassword(self, userid, password)

This allows me to maintain roundup accounts that do not appear 
in our NIS passwd map. This is a hack in that the "change 
password" fields aren't greyed-out and disabled for the user 
accounts which validate passwords against the external password 
file.

It would be helpful to note the need to install an admin account 
in the external password validation source, or to bootstrap by first 
creating the user accounts without enabling the external 
password validation, then adding the Admin role to selected 
accounts, and then and only then enabling external password 
validation.
msg1887 Author: [hidden] (richard) Date: 2005-03-03 01:10
Logged In: YES 
user_id=6405

Thanks, I've edited the docs, adding: 
 
.. note:: You will need to either have an "admin" user in your external 
          password source *or* have one of your regular users have 
          the Admin Role assigned. If you need to assign the Role *after* 
          making the changes below, you may use the ``roundup-admin`` 
          program to edit a user's details. 
 
History
Date User Action Args
2005-03-02 14:37:30stevebyancreate