Modifications to 'apply_permissions'