Publ: User configuration file

Last updated:

The authentication file, normally stored in users.cfg unless configured differently, stores a set of permissions groups for different authenticated users.

The format is pretty simple:

[admin]
http://example.com/
mailto:me@example.com

[friends]
mailto:someone@example.com
mailto:someone-else@example.com
http://example.com/~friend/
good-friends

[enemies]
mailto:mark@facebook.com
http://tumblr.com/

[good-friends]
https://beesbuzz.biz/

Simply put, each group is indicated by [group_name], and each line after the group name indicates the authenticated identities (and other groups) which are a part of that group. So, in this case, anyone who is in the good-friends group will also be in the friends group. All identities are given as full URIs.

Identities can also be used as a group name, to help manage those folks who have more than one identity that you want to treat equivalently; for example:

[https://beesbuzz.biz]
mailto:fluffy@beesbuzz.biz
; Twitter URLs are given in /i/user/NNNNN format; this allows things to keep
; working if a user changes their username, and prevents others from hijacking
; their identity as well.
https://twitter.com/i/user/993171
https://plush.city/@fluffy

This will give the identities mailto:fluffy@beesbuzz.biz, https://twitter.com/i/user/993171, and https://plush.city/@fluffy membership in all groups that https://beesbuzz.biz is in as well. However, the opposite is not true; https://beesbuzz.biz won’t automatically have access to entries that are only allowed for https://plush.city/@fluffy, for example.

Any identities which belong to the administrative group (which is admin by default but can configured differently) will have access to all entries, as well as the administrative dashboard. Otherwise, users are subject to the permissions system.

You can also start a line with # or ; to indicate that it is a comment.