NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: HPCDATAMGM-1160: Corrected this page based on discussion during DME team meeting on 2/11.

...

Include Page
shared info - bookmark intro
shared info - bookmark intro
If your user account has the system administrator or group administrator role, the dm_add_bookmark command also allows you to add a bookmark for another user and set permissions for that user at the same time. With the same command, you can provide permissions for a group of users, or for a user account that does not exist as an NIH a DME user in LDAP yet. 

  1. In your file system, create a JSON file that specifies the path within DME for the bookmark. For general usage information about the dm_add_bookmark command, refer to Adding a Bookmark via the CLU. As an administrator, you can specify additional parameters (userId and permission) in the JSON file:

    Code Block
    {
     "path" : "/Path/To/Bookmark",
     "userId" : "user ID or group name",
     "permission": "The permission to set for the path"
    }

    Possible values for the permission field are as follows:

    • Own
    • Write
    • Read
  2. Run the dm_add_bookmark command as described in Adding a Bookmark via the CLU. The system responds as follows:

    • If your JSON file specifies a bookmark path for an existing DME user, but does not specify a permission level for that user, then the system leaves the existing permission level as it is.
    • If your JSON file specifies a an NIH user account that does not exist as an NIH user in LDAP a DME user yet, and  and specifies a permission level for that user, the system creates that user in DME with the specified permission level.
    • The system creates the user in the DOC with which you are affiliated, and does not set a base path.
  3. Ask the specified user or group of users to log out of DME and log in again. 

...