A better way to change the permissions

This allows the user to add more permissions.