|ECACCESS-EVENT-GRANT(1p)||User Contributed Perl Documentation||ECACCESS-EVENT-GRANT(1p)|
NAME¶ecaccess-event-grant - Grant usage of an ECaccess Event
ecaccess-event-grant [-debug] [-subscribe] [-notify] event-id user-list
DESCRIPTION¶Allow managing the Event permissions for a list of user(s).
The permissions can be either subscribe, notify, both or none. In order to remove permissions to an Event for a list of users use this command with no -subscribe and -notify options.
- The identifier of the Event to grant.
- The user(s) to give/remove the permissions. Multiple users should be separated by a column (e.g. abc,def).
- The user(s) specified in the user-list will be allowed to subscribe to the event-id (e.g. with the -eventIds option of the ecaccess-job-submit command).
- The user(s) specified in the user-list will be allowed to send notifications to the event-id (e.g. with the ecaccess-event-send command).
- Display version number and exits.
- Print a brief help message and exits.
- Prints the manual page and exits.
- -retry count
- Number of SSL connection retries per 5s to ECMWF. This parameter only apply to the initial SSL connection initiated by the command to the ECMWF server. It does not apply to all the subsequent requests made afteward as it is mainly targeting errors that can happen from time to time during the SSL handshake. Default is no retry.
- Display the SOAP and SSL messages exchanged.
EXAMPLES¶ecaccess-event-grant -subscribe 167 abc,def,jhi
Allow the users abc, def and jhi to subscribe to this Event.
ecaccess-event-grant 167 jkl
Remove all rights to the Event for the user jkl.
SEE ALSO¶ecaccess-event-clear, ecaccess-event-delete, ecaccess-event-send, ecaccess-event-list, ecaccess-event-create and ecaccess.