-
Notifications
You must be signed in to change notification settings - Fork 12
/
rights_example.dat
46 lines (37 loc) · 1.14 KB
/
rights_example.dat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Root, project overview, and download pages are readable by all
* + /root/-/-/read
* + /language-list/-/-/read
* + /languages/-/-/read
* + /language/-/*/read
* + /login/-/-/*
* + /oauth2/-/-/read
* + /logout/-/-/*
* + /projects/-/-/read
* + /project/*/-/read
* + /download-list/*/*/read
* + /download/*/*/read
* + /annotate/*/*/read
* + /translation/*/*/read
# Unauthenticated users don't get any further
SOMEONE - /*/*/*/*
# Authenticated users can access their personal profile
* + /userprofile/-/-/*
# First pages of project creation can be used by anyone (these pages have no
# project to authenticate against).
* + /newproject/-/-/read
* + /createproject/-/-/add
* + /newlanguage/*/-/*
# Only the owner can create a project.
OWNER + /makeproject/*/-/add
# Strings editing
OWNER + /string/*/*/*
TRANSLATOR + /string/*/*/*
# Language creation is allowed for all projects, but steam-data
OWNER + /makelanguage/steam-data/*/*
* - /makelanguage/steam-data/*/*
OWNER + /makelanguage/*/*/*
TRANSLATOR + /makelanguage/*/*/*
# Language file uploading, language deletion
OWNER + /upload/*/-/*
OWNER + /delete/*/*/*
OWNER + /projsettings/*/-/*