Act on effective system tag canAssign permission
Whenever the server returns true for the can-assign Webdav property of a system tag, it means the current user is allowed to assign, regardless of the value of user-assignable. This commit brings the proper logic to the web UI to make it possible for users to assign when they have the permission.
Showing
- apps/dav/lib/SystemTag/SystemTagPlugin.php 8 additions, 1 deletionapps/dav/lib/SystemTag/SystemTagPlugin.php
- apps/systemtags/js/systemtagsinfoview.js 1 addition, 1 deletionapps/systemtags/js/systemtagsinfoview.js
- apps/systemtags/tests/js/systemtagsinfoviewSpec.js 34 additions, 9 deletionsapps/systemtags/tests/js/systemtagsinfoviewSpec.js
- core/js/systemtags/systemtagmodel.js 7 additions, 3 deletionscore/js/systemtags/systemtagmodel.js
- core/js/systemtags/systemtagsinputfield.js 5 additions, 3 deletionscore/js/systemtags/systemtagsinputfield.js
- core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js 52 additions, 19 deletionscore/js/tests/specs/systemtags/systemtagsinputfieldSpec.js
- lib/private/SystemTag/SystemTagManager.php 1 addition, 1 deletionlib/private/SystemTag/SystemTagManager.php
- tests/lib/SystemTag/SystemTagManagerTest.php 1 addition, 0 deletionstests/lib/SystemTag/SystemTagManagerTest.php
Loading
Please register or sign in to comment