case Right::EMAILONFAVE:
$result = !$this->isSandboxed();
break;
+ case Right::BACKUPACCOUNT:
+ $result = common_config('profile', 'backup');
+ break;
+ case Right::RESTOREACCOUNT:
+ $result = common_config('profile', 'restore');
+ break;
+ case Right::DELETEACCOUNT:
+ $result = common_config('profile', 'delete');
+ break;
+ case Right::MOVEACCOUNT:
+ $result = common_config('profile', 'move');
+ break;
default:
$result = false;
break;
const GRANTROLE = 'grantrole';
const REVOKEROLE = 'revokerole';
const DELETEGROUP = 'deletegroup';
+ const BACKUPACCOUNT = 'backupaccount';
+ const RESTOREACCOUNT = 'restoreaccount';
+ const DELETEACCOUNT = 'deleteaccount';
+ const MOVEACCOUNT = 'moveaccount';
}