This is the command samizdat-role that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
samizdat-role - Samizdat role management
SYNOPSIS
samizdat-role [ OPTIONS ] --list
samizdat-role [ OPTIONS ] --grant MEMBER
samizdat-role [ OPTIONS ] --revoke MEMBER
DESCRIPTION
samizdat-role Allows to view, grant, and revoke member access to priviledged roles on a
Samizdat site.
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 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 MEMBER
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').
EXAMPLE
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.
Use samizdat-role online using onworks.net services