* Only allow not-admins to assign groups they have themselves
* Only admins is allowed to change password of other admins
* Fixed issue with deep clone of UserGroup. The Allowed sections was not cloned. This resulted in the allowed sections of the object stored in cache was updated, everytime we changed the allowed sections on an object cloned from the cache. Even if we did not save it.
* Only Admins are allowed to add sections to a user group, that they don't have access to themselves
* Align backend code with UI. User managers that is are not admin, can only assign the same groups new users, that they have themselves.
* Make existingGroupAliases and empty array when creating a new user
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
* Should allow grid editors to use hash based settings
* Swap to using vm in grid config controller, as well as showing button when there's map settings
* Included keys for styles in empty state check for grid settings
* converted the code into more AngularJS performant code
* Remove rogue change to grid.editors.config
* use watchCollection instead
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
(cherry picked from commit 008827f785)
* WIP - added options from superdoctypecreate package
resolve merge conflict in create html file
* fiddling with the wording but it will never be perfect
* looks like ng-if should be ng-show
* Update data-elements for uniqueness (I'm not sure what these are used for!)
* pass 'iscomposition' on the querystring when choosing the 'composition' option from the menu
Why? - in the future we could hide the 'Compositions...' button when choosing to create a composition
* Remove PostCreateCollection implementation now the Create Collection is removed in this PR from the DocType Create menu
resolve merge conflict in Remove PostCreateCollection implementation now the Create Collection is removed in this PR from the DocType Create menu
* Add translations
* Put back PostSave method. It's useful.
Co-authored-by: Kenn Jacobsen <post@kennjacobsen.dk>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
It's inconvenient that the click area for the remove button laps over the label of settings and styles in the Grid Layout property editor. Simply as the editor may remove the style/setting by accident – and especially since there isn't an undo option.
Known issue: Linebreak of long text labels doesn't appear pretty, but this is cosmetic and can be fixed.
* languages
* add service method for media crop details, might be useful elsewhere
* update UI to add buttons for changing image / editing existing
* update mediapicker controller to use named editor service method
* Update media.controller.js
undefined should be null, consistent use of arrow func
* move buttons to the top right - close to the grid toolbar, so more obvious
* Prevent overflow of searchresults with long urls
Small css change to prevent overflow of searchresults with long url's
* fixes wrapping in node-picker search, stop icon shrinking
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
* fix leak by unbinding event from $rootscope
* destroy more events
* $scope unavailable
* no need to destroy in services as they are singletons
Co-authored-by: nzdev <nzdev@github.com>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
* Fix for applying searchResultFormatter on found searchresults
We found out that when the searchbox in the linkpicker is used, the URL of a page is not being shown anymore since Umbraco 8.7 and later. This is because of the searchResultFormatter wasn't applied correct.
* Changed ES6 arrow syntax as with the other functions.
Changed ES6 arrow syntax as with the other functions.
* Changed single qoutes to double qoutes for type
* Added missing alt text for login and avatar
* Added localisation for the avatar copy
* update alt avatar tag issue + translation
Co-authored-by: Michael <michael@crossingpaths.be>