Peter Bieringer
92d1ae9317
rights: add 2 support functions
2026-08-07 21:52:01 +02:00
Peter Bieringer
3e2fd6b90a
rights: check for conflicting permissions
2026-04-04 08:41:29 +02:00
Peter Bieringer
ec80106189
sharing/rights/inline doc: update
2026-04-04 08:41:02 +02:00
Peter Bieringer
31354ed25c
sharing/rights: remove no longer required permissions
2026-03-24 21:40:29 +01:00
Peter Bieringer
98a0093052
sharing/bday: update version
2026-03-15 21:51:45 +01:00
Peter Bieringer
127f2d1a36
sharing/bday: extend permission list
2026-03-15 18:20:49 +01:00
Francois Lesueur
15cf6ccb70
fix typecheck
2026-03-02 10:34:25 +01:00
Francois Lesueur
6288bc6f84
rename configparser variable
2026-03-02 10:16:15 +01:00
Francois Lesueur
f6a312b2d4
preload rights from file
2026-03-02 10:01:46 +01:00
Peter Bieringer
51fb882cab
sharing: properties overlay by proppatch
2026-02-28 22:10:01 +01:00
Peter Bieringer
1cb622e903
sharing: add global and conditional permissions support
2026-02-26 08:14:49 +01:00
Peter Bieringer
3ad1b1a12a
add rights value check
2026-02-26 08:12:49 +01:00
Peter Bieringer
cfe2f23d60
add forgotten doc for 3.3.0
2026-02-26 05:34:37 +01:00
TownCube
916c9db3c8
Skip group collection match when groups are not used
2024-12-07 18:24:29 +00:00
Peter Bieringer
8f80e0eb92
update copyright
2024-12-03 21:20:44 +01:00
Peter Bieringer
a54fb10e17
Fix: debug logging in rights/from_file
2024-12-03 21:19:12 +01:00
Dipl. Ing. Péter Varkoly
d1ceb620e4
Adapt function template discovery to the implementation
2024-09-22 18:38:21 +02:00
Dipl. Ing. Péter Varkoly
98c5ffdc87
Increase performace: open and parse rigts file only by starting.
...
Hanlde right sections without user.
2024-09-21 18:39:39 +02:00
Dipl. Ing. Péter Varkoly
a7f33c8795
Reorder imports.
2024-09-12 12:17:34 +02:00
Dipl. Ing. Péter Varkoly
b47c76e9ca
Fix definition of _user_groups in rights
2024-09-12 00:59:26 +02:00
Dipl. Ing. Péter Varkoly
e05fbeb950
Apply suggestions of mypy
2024-09-11 09:13:26 +02:00
Dipl. Ing. Péter Varkoly
d75b071fec
Fix the problems found by flake8.
2024-09-11 08:12:08 +02:00
Dipl. Ing. Péter Varkoly
606bd30514
Rebase
2024-09-05 10:44:28 +02:00
Peter Bieringer
a79c2ad83e
align option name
2024-08-28 08:59:32 +02:00
Peter Bieringer
e852c887d7
Enhancement: add option to toggle debug log of right with doesn't match
2024-08-28 08:03:16 +02:00
Dipl. Ing. Péter Varkoly
5167f12624
Rebase rights/from_file.py.
...
Apply proposed/asked changes.
2024-08-26 11:21:53 +02:00
Dipl. Ing. Péter Varkoly
19e5972b4f
Fix merge conflicts.
2024-08-25 14:11:48 +02:00
Mathieu Dupuy
47bc966a13
fix misspellings
2024-07-24 12:29:13 +02:00
Peter Bieringer
ac5e33c723
log matching permission
2024-06-11 13:33:34 +02:00
Peter Varkoly
b0f8d37294
User the intersection built in function of set to make the code more readable.
2022-02-24 10:45:45 +01:00
Peter Varkoly
8d19fd7a64
Now rights can be add to user groups too.
2022-02-21 17:15:21 +01:00
Dipl. Ing. Péter Varkoly
eda8309a04
Implementing group based collection matching.
...
Optimize rights evaluation.
2022-02-21 08:36:10 +01:00
Lauri Tirkkonen
4c44940ec1
config & rights: use open() for better error messages
...
ConfigParser().read() doesn't differentiate between different types of
failure to read files, causing eg. "No such file" to be logged in all
cases, for example if permissions are insufficient. fix that by using
open() and ConfigParser().read_file() instead.
2022-01-11 20:20:21 +01:00
Unrud
bbaf0ebd8c
Change name in file header
2021-12-09 16:55:46 +01:00
Unrud
cecb17df03
More type hints
2021-09-26 22:24:45 +02:00
Unrud
7f2d5cea62
New right "i": Only allowing HTTP method GET
2020-04-22 19:20:42 +02:00
Unrud
d5f5eeeddf
from_file rights: Replace config parser interpolation
2020-04-22 19:20:24 +02:00
Unrud
f6a3a19680
Simplify Rights plugin interface
2020-04-09 22:02:03 +02:00
Unrud
db7587c593
Cosmetic changes
2020-01-21 19:40:02 +01:00
Unrud
e07df9fd1d
Prefix internal attributes with underscore
2020-01-19 21:07:54 +01:00
Unrud
8f55ab858c
Improve documentation
2020-01-17 05:00:30 +01:00
Unrud
0cd95f8a39
Rename loader to load_plugin
2020-01-15 00:33:21 +01:00
Unrud
8543f3ea1d
Extract method loader()
2020-01-14 22:43:48 +01:00
Unrud
2e4924a0da
Improve documentation
2020-01-13 15:51:10 +01:00
Unrud
88a0af8ba1
Improve documentation
2020-01-12 23:32:28 +01:00
Unrud
b7590f8c84
Rework configuration
2019-06-17 04:18:09 +02:00
Unrud
63e6d091b9
Update copyright
2019-06-17 04:13:24 +02:00
Unrud
6e19ed893a
show module name in error message
2018-09-18 21:04:57 +02:00
Unrud
5e0a387ed9
remove whitespace before email
2018-09-04 03:33:47 +02:00
Unrud
5429f5c1a9
assert sanitized and stripped paths
2018-08-28 16:19:50 +02:00