Is it possible to grant admin permissions via plugins through userPermissions->saveUserPermissions?
This should do the trick...

$user-&gt;admin = true;


That data is part of the UserModel, so be sure to add it before the saveUser call.

Being a full-blown admin not technically part of setting permissions. If the user is an admin, that supersedes all other permissions settings.