SAMIZDAT-ROLE(1)
β¨ SAMIZDAT-ROLE(1) β¨
okay so bestie, welcome to the General Commands Manual page for samizdat-role π yes it's a real command, yes it's iconic, and yes we're gonna go through it together, no skipped sections, no vibes-based summary, fr fr.
πΈ NAME πΈ
samizdat-role β Samizdat role management π
π SYNOPSIS π
samizdat-role [ OPTIONS ] --list
samizdat-role [ OPTIONS ] --grant MEMBER
samizdat-role [ OPTIONS ] --revoke MEMBER
π¦ DESCRIPTION π¦
So basically samizdat-role lets you view, grant, and revoke member access to privileged roles on a Samizdat site. that's the whole main character job description. you look at who has power, you hand out power, you take power away. the way that this is literally role management π
π OPTIONS π
--site SITEβ the name of the Samizdat site. lowkey important: this one overrides theSAMIZDAT_SITEenvironment variable π so if the env var is saying one thing and you're saying another, you win. main character energy.--role ROLEβ the name of a role. the default ismoderator, so if you don't say anything, that's who you're talking about β¨--grant MEMBERβ grantROLEprivileges toMEMBERπMEMBERcan be specified as a resource id or a login name.
NB: to grant or revoke privileges using this command, you must use database superuser privileges (in PostgreSQL, this is postgres). not me being locked out of my own glow-up π you need the big keys, periodt.
--revoke MEMBERβ revokeROLEprivileges fromMEMBERπMEMBERcan be specified as a resource id or a login name.
NB: to grant or revoke privileges using this command, you must use database superuser privileges (in PostgreSQL, this is postgres). same deal bestie, the superuser gate is the superuser gate π
β 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 π«Ά one command, three jobs, absolutely ate.
π 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 β so like, share the love, legally π
and that's a wrap on page SAMIZDAT-ROLE(1) from the General Commands Manual, bestie π go grant some roles, revoke some roles, vibe check your site name, and always remember the PostgreSQL superuser thing or it's giving error message π bye ily π
π¦ where this page comes from
- debian bookworm: samizdat 0.7.1-3 Β· GPL-3.0-or-later
- ubuntu jammy: samizdat 0.7.1-1 Β· GPL-3.0-or-later
- ubuntu noble: samizdat 0.7.1-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms