Nikolaj Geisle
4d68820879
Handle if securitySettings is set
2022-05-16 14:08:21 +02:00
Nikolaj Geisle
544dcffa18
Merge remote-tracking branch 'origin/v10/feature/variant-permissions' into v10/feature/variant-permissions
2022-05-16 14:00:22 +02:00
Nikolaj Geisle
27421cef2a
Handle invariant permissions
2022-05-16 14:00:13 +02:00
Mads Rasmussen
279dd0cf0c
Merge branch 'v10/feature/variant-permissions' of https://github.com/umbraco/Umbraco-CMS into v10/feature/variant-permissions
2022-05-16 13:44:26 +02:00
Mads Rasmussen
9e51ad9cbf
check for permissions in block list editor
2022-05-16 13:44:19 +02:00
Nikolaj Geisle
2ad73d4c47
Fix proper mapping instead of duplicated code
2022-05-16 13:23:54 +02:00
Nikolaj Geisle
62525518c2
Merge remote-tracking branch 'origin/v10/feature/variant-permissions' into v10/feature/variant-permissions
2022-05-16 13:10:10 +02:00
Nikolaj Geisle
cc450bef8a
Fix invariant-variant returning all actions
2022-05-16 13:10:03 +02:00
Mads Rasmussen
3f0b90b18d
remove delete row button when block list editor is readonly
2022-05-16 13:05:46 +02:00
Mads Rasmussen
c0f674d333
localize unlock invariant property help text
2022-05-16 12:32:40 +02:00
Mads Rasmussen
6c4159751c
add translation for shared
2022-05-16 11:39:14 +02:00
Mads Rasmussen
23b8dd843c
add more white space underneath language label
2022-05-16 11:35:07 +02:00
Mads Rasmussen
ec60ad8629
remove padding from property unlock container
2022-05-16 11:32:33 +02:00
Mads Rasmussen
121933a9ed
only use preview mode if the user can also unlock the property editor
2022-05-16 11:29:33 +02:00
Mads Rasmussen
3b8c5dd084
Add check for editing invariant properties based on the appsetting config
2022-05-16 11:07:09 +02:00
Mads Rasmussen
587fa5c0d6
Merge branch 'v10/feature/variant-permissions' into v10/feature/editable-invariant-properties-ui
2022-05-16 10:54:10 +02:00
Nikolaj Geisle
14ce40be4c
Fix BackOfficeServerVariables.cs
2022-05-16 10:50:40 +02:00
Mads Rasmussen
d9f1b2e8aa
Merge branch 'v10/feature/variant-permissions' into v10/feature/editable-invariant-properties-ui
2022-05-16 10:25:23 +02:00
Nikolaj Geisle
6de8a81aa0
Fix invariant content
2022-05-16 09:56:18 +02:00
Mads Rasmussen
2ad51a4520
update to variable
2022-05-12 21:56:35 +02:00
Mads Rasmussen
5494b48756
allow unlocking invariant properties if a user has update permissions for the language
2022-05-12 21:54:04 +02:00
Mads Rasmussen
ce8a635c2c
always show shared badge on invariant properties on variant nodes
2022-05-12 18:49:54 +02:00
Mads Rasmussen
e02516193a
Merge branch 'v10/feature/variant-permissions' into v10/feature/editable-invariant-properties-ui
2022-05-12 18:33:02 +02:00
Mads Rasmussen
ec91d8c22b
check for publish permission when publishing with decendants
2022-05-12 18:07:35 +02:00
Mads Rasmussen
87811bd3b3
check for unpublish permission
2022-05-12 18:07:00 +02:00
Mads Rasmussen
dae338b4e8
check for schedule permission
2022-05-12 18:06:41 +02:00
Mads Rasmussen
7405cbe6ef
check for send to publish permission
2022-05-12 18:05:38 +02:00
Mads Rasmussen
c26a0a46b0
dont allow publish if the user doesn't have publish permissions
2022-05-12 18:02:15 +02:00
Mads Rasmussen
84108bbea2
dont allow save if the user doesn't have save permissions
2022-05-12 18:01:17 +02:00
Mole
3f0ff6a752
Publish invariant properties ( #12386 )
...
* Publish invariants from non default
* Add culture impact service
* Use the new culture impact service instead of newing up culture impacts
* Only publish invariant properties on non-defaults with invariant culture
Essentially we want to be able to fall back to the default culture for the variant properties if a document type is made invariant, not whatever culture was published last.
* Move creation logic into the service
* Make creation method names consistent
* Fix tests
We compare the cultures directly, so they have to be the same object instance unfortunately
* Add test for the new setting
* Add new config to server variables
* Fix test setup
* Apply suggestions from code review
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
2022-05-12 12:41:51 +02:00
Mads Rasmussen
6ddce4b151
use correct magic letter for update permission
2022-05-11 20:30:08 +02:00
Mads Rasmussen
c9c00760b5
match tag editor readonly styling with input
2022-05-11 20:25:34 +02:00
Mads Rasmussen
5e4ecf2462
set node name to readonly when the user has no update permissions
2022-05-11 20:22:47 +02:00
Mads Rasmussen
4a63433257
simplify check for readonly
2022-05-11 20:21:49 +02:00
Mads Rasmussen
de8a5bc855
style readonly inputs different than disabled inputs
2022-05-11 19:36:39 +02:00
Mads Rasmussen
95a41afea9
list view: check for readonly based on variant permissions
2022-05-11 19:26:54 +02:00
Mads Rasmussen
16288cf939
content: check for readonly properties based on variant permissions
2022-05-11 19:26:24 +02:00
Nikolaj Geisle
1810b7a744
Change allowedactions
2022-05-11 13:34:35 +02:00
Nikolaj Geisle
e839e09680
Finish default granular permissions for languages
2022-05-11 12:55:42 +02:00
Nikolaj Geisle
e270f90296
Add granular permission to variants
2022-05-11 12:31:51 +02:00
Nikolaj Geisle
b6277fbfd7
Revert "Start work on allowing nodes for users per language"
...
This reverts commit e78794c00e .
2022-05-11 10:01:27 +02:00
Nikolaj Geisle
004267a86f
Fix test
2022-05-11 09:49:13 +02:00
Mads Rasmussen
20c3799e5b
add overlay to allow editing invariant properties from all languages
2022-05-10 16:12:58 +02:00
Nikolaj Geisle
e78794c00e
Start work on allowing nodes for users per language
2022-05-10 15:57:13 +02:00
Nikolaj Geisle
0d16de1b64
Merge remote-tracking branch 'origin/v10/dev' into v10/feature/variant-permissions
2022-05-10 15:34:46 +02:00
Nikolaj Geisle
eda9328f99
Dissallow users to save languages they do not have access to
2022-05-10 14:57:58 +02:00
Mads Rasmussen
23bb172be0
add icon for languages
2022-05-10 13:10:23 +02:00
Mads Rasmussen
08dedf57c5
change help text to limit
2022-05-10 12:45:36 +02:00
Mads Rasmussen
855f83ee1f
Merge branch 'v10/feature/variant-permissions' of https://github.com/umbraco/Umbraco-CMS into v10/feature/variant-permissions
2022-05-10 12:40:15 +02:00
Mads Rasmussen
4dd4f190e3
Move languages underneath sections
2022-05-10 12:40:03 +02:00