If the setting for the Data Steward topic creation is set to 'Pending' or 'Approved' within shrine.conf, all query topics must be approved by a designated role called the 'Data Steward'. The Data Steward is a special role that can see all pending topics and then has the authority to approve or reject them. If a topic is approved, then the topic will appear in the SHRINE webclient for the user who requested it. If the topic is rejected, then the topic will not appear for that user. In order to assign 'Data Steward' privileges, you will need to add a special parameter ('DataSteward') for an existing user in the pm_user_params table.
In particular, the Data Steward role cannot create any query topics for itself, but it is an administrative role whose function is to approve or reject query topic requests from all other users.
The following code fragment creates a new user called 'shrine_steward' and gives it Data Steward privileges. To assign the Data Steward privileges to an existing user, you will simply execute the last insert statement to assign the role to that user.
Please refer to Chapter 8.1 on information regarding the generation of the password hash.