You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
456 B
25 lines
456 B
3 years ago
|
from pathlib import Path
|
||
|
|
||
|
MOUNT_PATH = Path("/mnt") / "nfs-data-store-1" / "drive"
|
||
|
REPO_PATH = MOUNT_PATH / "svn-repository"
|
||
|
AUTHZ_PATH = REPO_PATH / "authz"
|
||
|
HTPWD_PATH = REPO_PATH / ".htpasswd"
|
||
|
|
||
|
ADMINS = "administrators"
|
||
|
USERS = "users"
|
||
|
RESTRICTED = "restricted"
|
||
|
ALUMNI = "alumni"
|
||
|
|
||
|
NO_ACL = ""
|
||
|
READ_ACL = "r"
|
||
|
WRITE_ACL = "rw"
|
||
|
|
||
|
GROUP_DEFAULTS = {
|
||
|
ADMINS: WRITE_ACL,
|
||
|
USERS: READ_ACL,
|
||
|
RESTRICTED: NO_ACL,
|
||
|
ALUMNI: NO_ACL,
|
||
|
}
|
||
|
|
||
|
SVN_SUFFIX = ":/"
|