mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
until now, ${u} would match all users, ${u%-foo} would exclude users in group foo, ${u%+foo} would only include users in group foo now, the following is also possible: ${u%-foo,%-bar} excludes users in group foo and/or group bar, ${u%+foo,%+bar} only includes users which are in groups foo AND bar, ${g%-foo} skips group foo (includes all others), ${g%-foo,%-bar} skips group foo and/or bar (includes all others) see ./docs/examples/docker/idp/copyparty.conf ; https://github.com/9001/copyparty/blob/hovudstraum/docs/examples/docker/idp/copyparty.conf
47 lines
477 B
YAML
47 lines
477 B
YAML
# -*- mode: yaml -*-
|
|
# vim: ft=yaml:
|
|
|
|
[global]
|
|
idp-h-usr: x-idp-user
|
|
idp-h-grp: x-idp-group
|
|
|
|
[/u/${u}]
|
|
/u/${u}
|
|
accs:
|
|
r: *
|
|
|
|
[/uya/${u%+ga}]
|
|
/uya/${u}
|
|
accs:
|
|
r: *
|
|
|
|
[/uyab/${u%+ga,%+gb}]
|
|
/uyab/${u}
|
|
accs:
|
|
r: *
|
|
|
|
[/una/${u%-ga}]
|
|
/una/${u}
|
|
accs:
|
|
r: *
|
|
|
|
[/unab/${u%-ga,%-gb}]
|
|
/unab/${u}
|
|
accs:
|
|
r: *
|
|
|
|
[/gya/${g%+ga}]
|
|
/gya/${g}
|
|
accs:
|
|
r: *
|
|
|
|
[/gna/${g%-ga}]
|
|
/gna/${g}
|
|
accs:
|
|
r: *
|
|
|
|
[/gnab/${g%-ga,%-gb}]
|
|
/gnab/${g}
|
|
accs:
|
|
r: *
|