diff --git a/actions/apiqvittersandboxcreate.php b/actions/apiqvittersandboxcreate.php index f713e61..b4a81e7 100644 --- a/actions/apiqvittersandboxcreate.php +++ b/actions/apiqvittersandboxcreate.php @@ -86,10 +86,6 @@ class ApiQvitterSandboxCreateAction extends ApiAuthAction if (!$this->scoped->hasRight(Right::SANDBOXUSER)) { $this->clientError(_('You cannot sandbox users on this site.'), 403); } - // Only administrators can sandbox other privileged users (such as others who have the right to sandbox). - if ($this->scoped->isPrivileged() && !$this->scoped->hasRole(Profile_role::ADMINISTRATOR)) { - $this->clientError(_('You cannot sandbox other privileged users.'), 403); - } // only sandbox of the user isn't sandboxed if (!$this->other->isSandboxed()) { diff --git a/actions/qvitter.php b/actions/qvitter.php index 79f263b..895fae8 100644 --- a/actions/qvitter.php +++ b/actions/qvitter.php @@ -480,7 +480,7 @@ class QvitterAction extends ApiAction -