mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 01:58:04 +02:00
Apply client-side push refactoring to calendar, infolog, timesheet
This commit is contained in:
@ -199,9 +199,12 @@ var EgwApp = /** @class */ (function () {
|
||||
*
|
||||
* @param pushData
|
||||
* @param grant_fields List of fields in pushData.acl with account IDs that might grant access eg: info_responsible
|
||||
* @param appname Optional, to check against the grants for a different application. Defaults to this.appname.
|
||||
*
|
||||
* @return boolean Entry has ACL access
|
||||
*/
|
||||
EgwApp.prototype._push_grant_check = function (pushData, grant_fields) {
|
||||
var grants = egw.grants(this.appname);
|
||||
EgwApp.prototype._push_grant_check = function (pushData, grant_fields, appname) {
|
||||
var grants = egw.grants(appname || this.appname);
|
||||
// No grants known
|
||||
if (!grants)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user