|
libfossil
|
Models user permissions precisely as fossil(1) does. More...
#include "repo.h"
Data Fields | |
| bool | admin |
| bool | adminForum |
| bool | announce |
| bool | appendTicket |
| bool | appendWiki |
| bool | attach |
| bool | chat |
| bool | clone |
| bool | debug |
| bool | emailAlert |
| bool | hyperlink |
| bool | moderateForum |
| bool | moderateTicket |
| bool | moderateWiki |
| bool | newTicket |
| bool | newWiki |
| bool | password |
| bool | privateContent |
| bool | read |
| bool | readAddr |
| bool | readForum |
| bool | readTicket |
| bool | readWiki |
| bool | setup |
| bool | ticketReport |
| bool | trustedForum |
| bool | write |
| bool | writeForum |
| bool | writeTicket |
| bool | writeUnversioned |
| bool | writeWiki |
| bool | xDeveloper |
| bool | xReader |
| bool | zip |
Models user permissions precisely as fossil(1) does.
Most of these do not apply to the library - they are "app-level" permissions. Some very few are honored by the library, namely those relevant for sync support. The app-level permissions are exposed here so that app-level code can handle those in ways compatible with fossil(1), while leaving the library to handle the permission storage (via the user.cap repository db field).