(fix) now also give modify permission
This commit is contained in:
parent
aa7febe15b
commit
6730db74e6
1
NEWS
1
NEWS
|
@ -11,6 +11,7 @@ New features
|
||||||
Enhancements
|
Enhancements
|
||||||
- [web] follow requested URL after user authentication
|
- [web] follow requested URL after user authentication
|
||||||
- [web] added Simplified Chinese (zh_CN) translation - thanks to Thomas Kuiper
|
- [web] added Simplified Chinese (zh_CN) translation - thanks to Thomas Kuiper
|
||||||
|
- [web] now also give modify permission when selecting all calendar rights
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
- [core] yearly repeating events are not shown in web calendar (#4237)
|
- [core] yearly repeating events are not shown in web calendar (#4237)
|
||||||
|
|
|
@ -140,6 +140,8 @@
|
||||||
_.forEach(user.rights, function(value, right) {
|
_.forEach(user.rights, function(value, right) {
|
||||||
if (angular.isNumber(user.rights[right]))
|
if (angular.isNumber(user.rights[right]))
|
||||||
user.rights[right] = 1;
|
user.rights[right] = 1;
|
||||||
|
else
|
||||||
|
user.rights[right] = "Modifier";
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue