logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

samizdat-role - Samizdat role management

Author

       This  manual page was written by Dmitry Borodaenko <angdraug@debian.org>.  Permission is granted to copy,
       distribute and/or modify this document under the terms of the GNU GPL version 3 or later.

                                                                                                SAMIZDAT-ROLE(1)

Description

samizdat-role Allows one to view, grant, and revoke member access to privileged roles on a Samizdat site.

Example

       su postgres -c 'samizdat-role --site s1 --grant joe --role moderator --list'

       Grant moderator privileges to the member 'joe' of site 's1' and list all moderators.

Name

       samizdat-role - Samizdat role management

Options

       --site SITE
           Name of the Samizdat site (overrides SAMIZDAT_SITE environment variable).

       --role ROLE
           Name of a role, default is moderator.

       --grant MEMBER
           Grant ROLE privileges to MEMBER. MEMBER may be specified as resource id or login name.

           NB:  To grant or revoke privileges using this command, you must use database superuser privileges (in
           PostgreSQL, this is 'postgres').

       --revoke MEMBER
           Revoke ROLE privileges from MEMBER. MEMBER may be specified as resource id or login name.

           NB: To grant or revoke privileges using this command, you must use database superuser privileges  (in
           PostgreSQL, this is 'postgres').

Synopsis

samizdat-role [ OPTIONS ] --list

       samizdat-role [ OPTIONS ] --grant MEMBERsamizdat-role [ OPTIONS ] --revoke MEMBER

See Also