Is there a way to set group permissions for a role through the API.   I have many groups that should be public open, but only for users in specific roles, so I need to remove permissions on Everyone and Registered User.