Skip to content

BUG: dirac-admin-add-user #689

Description

@graciani

if the permission are not OK the script launches an exception, instead of printing a proper error:

$ dirac-admin-add-user -N atsareg -D "/O=GRID-FR/C=FR/O=CNRS/OU=CPPM/CN=Andrei Tsaregorodtsev" -M "atsareg@in2p3.fr" -G user
No proxy found 
No proxy found! 
  File "/opt/dirac/versions/v6r3p6_1334935615/DIRAC/Interfaces/scripts/dirac-admin-add-user.py", line 84, in <module>
    if not diracAdmin.csModifyUser( userName, userProps, createIfNonExistant = True )['Value']:
KeyError: 'Value'

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions