Support permissions ... but then disable them ... hmmm.

This commit is contained in:
Rich Lott / Artful Robot 2025-05-02 09:50:30 +01:00
parent daae65a5d3
commit d8a87d03d3
3 changed files with 8 additions and 3 deletions

View file

@ -36,8 +36,9 @@ class ContactCategory extends Generic\DAOEntity {
/**
*
*/
public static function sync(): Sync {
return new Sync('ContactCategory', 'sync');
public static function sync($checkPermissions = TRUE): Sync {
return (new Sync('ContactCategory', 'sync'))
->setCheckPermissions($checkPermissions);
}
/**