Dan Brown
76049f0cdb
New translations entities.php (Catalan)
2022-07-17 10:50:09 +01:00
Dan Brown
0143fe88d3
New translations entities.php (Bulgarian)
2022-07-17 10:50:08 +01:00
Dan Brown
0b89642610
New translations entities.php (Spanish)
2022-07-17 10:50:07 +01:00
Dan Brown
bc8d2d8209
New translations entities.php (French)
2022-07-17 10:50:06 +01:00
Dan Brown
f832a9545e
New translations entities.php (German)
2022-07-17 10:50:05 +01:00
Dan Brown
aad2f54c15
New translations entities.php (Hebrew)
2022-07-17 10:50:04 +01:00
Dan Brown
0cd44a6e7d
New translations entities.php (Arabic)
2022-07-17 10:50:03 +01:00
Dan Brown
79e386f457
New translations entities.php (Hungarian)
2022-07-17 10:50:02 +01:00
Dan Brown
387b6620e4
New translations entities.php (Russian)
2022-07-17 10:50:01 +01:00
Dan Brown
d76bdbc976
New translations entities.php (Japanese)
2022-07-17 10:50:00 +01:00
Dan Brown
89de7a60c6
New translations entities.php (Korean)
2022-07-17 10:49:59 +01:00
Dan Brown
42c6179350
New translations entities.php (Lithuanian)
2022-07-17 10:49:58 +01:00
Dan Brown
01c2c92710
New translations entities.php (Dutch)
2022-07-17 10:49:57 +01:00
Dan Brown
4b770ee2dc
New translations entities.php (Polish)
2022-07-17 10:49:56 +01:00
Dan Brown
c47997bbb7
New translations entities.php (Ukrainian)
2022-07-17 10:49:55 +01:00
Dan Brown
9d78af2c1d
New translations entities.php (Slovak)
2022-07-17 10:49:54 +01:00
Dan Brown
a8d933753e
New translations entities.php (Slovenian)
2022-07-17 10:49:53 +01:00
Dan Brown
2853feb9c4
New translations entities.php (Swedish)
2022-07-17 10:49:52 +01:00
Dan Brown
86e7386db9
New translations entities.php (Turkish)
2022-07-17 10:49:52 +01:00
Dan Brown
ce9a788fb9
New translations entities.php (Italian)
2022-07-17 10:49:51 +01:00
Dan Brown
6b8083244d
New translations entities.php (Portuguese)
2022-07-17 10:49:50 +01:00
Dan Brown
94bf7e2e0c
Merge pull request #3569 from BookStackApp/permissions_v2
...
Permissions System Refactor
2022-07-17 10:36:33 +01:00
Dan Brown
9cf05944f6
Applied StyleCI changes
2022-07-17 10:32:16 +01:00
Dan Brown
e6e6d25974
Removed test web route, extracted text, added test
2022-07-17 10:18:24 +01:00
Dan Brown
8f90996cef
Dropped use of non-view joint permissions
2022-07-16 21:50:42 +01:00
Dan Brown
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
Dan Brown
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
Dan Brown
f459a68535
Removed remaining dynamic action usages in joint permission queries
2022-07-16 19:28:04 +01:00
Dan Brown
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
Dan Brown
2b4b7c68cc
New translations entities.php (German)
2022-07-15 08:45:23 +01:00
Dan Brown
ad8d8dde2d
New translations entities.php (German)
2022-07-15 07:39:07 +01:00
Dan Brown
23f9b4d217
New translations auth.php (German)
2022-07-15 07:39:06 +01:00
Dan Brown
bfbd0fc168
New translations activities.php (German)
2022-07-14 23:50:40 +01:00
Dan Brown
77b57c068f
New translations activities.php (German)
2022-07-14 22:50:28 +01:00
Dan Brown
40d939394b
Merge pull request #3573 from BookStackApp/m1_docker_support
...
M1/Apple Silicon dev docker compatibility
2022-07-14 11:03:25 +01:00
Dan Brown
7e04f70bf3
Tweaked docker dev container to work with m1 apple silicon
...
Tested on m1 macbook, needs testing on amd64
2022-07-14 01:34:57 +01:00
Dan Brown
4fb85a9a5c
Started removal of non-view permission queries
...
Updated ajax search and entity selector usage to display and handle
items that the user does not have permission to interact with.
Started logic changes to not allow permission type to be passed around,
with views instead being the fixed sole permission.
2022-07-13 15:23:03 +01:00
Jan Koid
55dc86037f
Fixed some typos and corrected grammar.
2022-07-12 23:05:44 +02:00
Dan Brown
2989852520
Added simple data model for faster permission generation
2022-07-12 21:13:02 +01:00
Dan Brown
4daac5a114
New translations auth.php (Croatian)
2022-07-12 21:07:49 +01:00
Dan Brown
82baab66cc
New translations activities.php (Croatian)
2022-07-12 21:07:48 +01:00
Dan Brown
b0a4d3d059
Renamed and cleaned up existing permission service classes use
2022-07-12 20:15:41 +01:00
Dan Brown
943cb7810b
New translations activities.php (Croatian)
2022-07-12 20:02:15 +01:00
Dan Brown
2d4f708c79
Extracted permission building out of permission service
2022-07-12 19:38:11 +01:00
Dan Brown
376640db25
New translations settings.php (Portuguese)
2022-07-12 13:03:52 +01:00
Dan Brown
9cfded1311
New translations common.php (Portuguese)
2022-07-12 13:03:51 +01:00
Dan Brown
dde2ea743f
New translations auth.php (Portuguese)
2022-07-12 13:03:50 +01:00
Dan Brown
ddd45dde6b
New translations entities.php (Portuguese)
2022-07-12 13:03:49 +01:00
Dan Brown
a99cbcfe12
New translations activities.php (Portuguese)
2022-07-12 13:03:47 +01:00
Dan Brown
c5e9dfa168
Optimized pre-joint-permission logic efficiency
2022-07-10 13:45:04 +01:00