Commit Graph

3813 Commits

Author SHA1 Message Date
8f9923c7c1 Re-ordered theme events to be alphabetical 2022-07-17 13:08:44 +01:00
7be7caacd5 New translations entities.php (German Informal) 2022-07-17 10:50:26 +01:00
bcd06c1d56 New translations entities.php (Chinese Simplified) 2022-07-17 10:50:26 +01:00
e01a0e61d9 New translations entities.php (Chinese Traditional) 2022-07-17 10:50:24 +01:00
f0049e346b New translations entities.php (Portuguese, Brazilian) 2022-07-17 10:50:24 +01:00
b7f84171c6 New translations entities.php (Indonesian) 2022-07-17 10:50:23 +01:00
cb5b4392f4 New translations entities.php (Persian) 2022-07-17 10:50:22 +01:00
4eb76699a9 New translations entities.php (Spanish, Argentina) 2022-07-17 10:50:21 +01:00
a48a1d80ae New translations entities.php (Croatian) 2022-07-17 10:50:20 +01:00
b3b8da0fe7 New translations entities.php (Vietnamese) 2022-07-17 10:50:19 +01:00
a2440e20bc New translations entities.php (Latvian) 2022-07-17 10:50:18 +01:00
f3f72fde6b New translations entities.php (Welsh) 2022-07-17 10:50:17 +01:00
9023487d99 New translations entities.php (Bosnian) 2022-07-17 10:50:16 +01:00
d77c0d3ddd New translations entities.php (Uzbek) 2022-07-17 10:50:15 +01:00
cffa0a0cf3 New translations entities.php (Norwegian Bokmal) 2022-07-17 10:50:14 +01:00
7b4e36eb38 New translations entities.php (Estonian) 2022-07-17 10:50:13 +01:00
f3eb7c4208 New translations entities.php (Basque) 2022-07-17 10:50:12 +01:00
2fcb0b6db2 New translations entities.php (Danish) 2022-07-17 10:50:11 +01:00
ea0ac2a853 New translations entities.php (Czech) 2022-07-17 10:50:10 +01:00
76049f0cdb New translations entities.php (Catalan) 2022-07-17 10:50:09 +01:00
0143fe88d3 New translations entities.php (Bulgarian) 2022-07-17 10:50:08 +01:00
0b89642610 New translations entities.php (Spanish) 2022-07-17 10:50:07 +01:00
bc8d2d8209 New translations entities.php (French) 2022-07-17 10:50:06 +01:00
f832a9545e New translations entities.php (German) 2022-07-17 10:50:05 +01:00
aad2f54c15 New translations entities.php (Hebrew) 2022-07-17 10:50:04 +01:00
0cd44a6e7d New translations entities.php (Arabic) 2022-07-17 10:50:03 +01:00
79e386f457 New translations entities.php (Hungarian) 2022-07-17 10:50:02 +01:00
387b6620e4 New translations entities.php (Russian) 2022-07-17 10:50:01 +01:00
d76bdbc976 New translations entities.php (Japanese) 2022-07-17 10:50:00 +01:00
89de7a60c6 New translations entities.php (Korean) 2022-07-17 10:49:59 +01:00
42c6179350 New translations entities.php (Lithuanian) 2022-07-17 10:49:58 +01:00
01c2c92710 New translations entities.php (Dutch) 2022-07-17 10:49:57 +01:00
4b770ee2dc New translations entities.php (Polish) 2022-07-17 10:49:56 +01:00
c47997bbb7 New translations entities.php (Ukrainian) 2022-07-17 10:49:55 +01:00
9d78af2c1d New translations entities.php (Slovak) 2022-07-17 10:49:54 +01:00
a8d933753e New translations entities.php (Slovenian) 2022-07-17 10:49:53 +01:00
2853feb9c4 New translations entities.php (Swedish) 2022-07-17 10:49:52 +01:00
86e7386db9 New translations entities.php (Turkish) 2022-07-17 10:49:52 +01:00
ce9a788fb9 New translations entities.php (Italian) 2022-07-17 10:49:51 +01:00
6b8083244d New translations entities.php (Portuguese) 2022-07-17 10:49:50 +01:00
94bf7e2e0c Merge pull request #3569 from BookStackApp/permissions_v2
Permissions System Refactor
2022-07-17 10:36:33 +01:00
9cf05944f6 Applied StyleCI changes 2022-07-17 10:32:16 +01:00
e6e6d25974 Removed test web route, extracted text, added test 2022-07-17 10:18:24 +01:00
8f90996cef Dropped use of non-view joint permissions 2022-07-16 21:50:42 +01:00
2332401854 Fixed a couple of non-intended logical permission issues
Both caught in tests:
Fixed loss of permissions for admin users when entity restrictions were
active, since there are no entity-restrictions for the admin role but
we'd force generate them in joint permissions, which would be queried.
Fixed new role permission checks when permissions given with only the
action (eg. 'view'), since the type prefix would be required for role
permission checks. Was previously not needed as only the simpler form
was used in the jointpermissions after merge & calculation.
2022-07-16 20:55:32 +01:00
afe1a04239 Aligned permission applicator method names
Also removed lesser used function, that was mostly a duplicate of an
existing function, and only used for search.
2022-07-16 19:54:25 +01:00
f459a68535 Removed remaining dynamic action usages in joint permission queries 2022-07-16 19:28:04 +01:00
1d875ccfb7 Continued removal of joint permission non-view queries
Cleaned up PermissionApplicator to remove old cache system which was
hardly ever actuall caching anything since it was reset after each
public method run.

Changed the scope of 'userCanOnAny' to just check entity permissions,
and added protections of action scope creep, in case a role permission
action was passed by mistake.
2022-07-16 13:17:08 +01:00
2b4b7c68cc New translations entities.php (German) 2022-07-15 08:45:23 +01:00
ad8d8dde2d New translations entities.php (German) 2022-07-15 07:39:07 +01:00