Created
December 11, 2025 10:24
-
-
Save artpar/b3f7afe217a3d0d221ea02692637b709 to your computer and use it in GitHub Desktop.
daptin permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const ( | |
| GuestPeek=1 AuthPermission = 1 << iota | |
| GuestRead = 2 | |
| GuestCreate = 4 | |
| GuestUpdate = 8 | |
| GuestDelete = 16 | |
| GuestExecute= 32 | |
| GuestRefer = 64 | |
| UserPeek= 128 | |
| UserRead = 256 | |
| UserCreate = 512 | |
| UserUpdate = 1024 | |
| UserDelete = 2048 | |
| UserExecute = 4096 | |
| UserRefer = 8192 | |
| GroupPeek= 16384 | |
| GroupRead = 32768 | |
| GroupCreate = 65536 | |
| GroupUpdate= 131072 | |
| GroupDelete = 262144 | |
| GroupExecute= 524288 | |
| GroupRefer = 1048576 | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment