Samizdat role management
samizdat-role [ OPTIONS ] --list
samizdat-role [ OPTIONS ] --grant MEMBER
samizdat-role [ OPTIONS ] --revoke MEMBER
samizdat-role Allows to view, grant, and revoke member access to priviledged roles on a Samizdat site.
Name of the Samizdat site (overrides SAMIZDAT_SITE environment variable).
Name of a role, default is moderator.
Grant ROLE priviledges to MEMBER. MEMBER may be specified as resource id or login name.
NB: To grant or revoke priviledges using this command, you must use database superuser priviledges (in PostgreSQL, this is 'postgres').
Revoke ROLE priviledges from MEMBER. MEMBER may be specified as resource id or login name.
NB: To grant or revoke priviledges using this command, you must use database superuser priviledges (in PostgreSQL, this is 'postgres').
su postgres -c 'samizdat-role --site s1 --grant joe --role moderator --list'
Grant moderator priviledges to the member 'joe' of site 's1' and list all moderators.
This manual page was written by Dmitry Borodaenko <[email protected]>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU GPL version 3 or later.