Commits

Anonymous committed b5f1837

add update_permissions_group

  • Participants
  • Parent commits b698769

Comments (0)

Files changed (1)

File djangotoolbox/auth/utils.py

 def update_permissions_user(perms, user):
     update_list(perms, UserPermissionList, {'user': user})
 
+def update_permissions_group(perms, grouo):
+    update_list(perms, GroupPermissionList, {'group': group})
+
 def update_user_groups(user, group):
     update_list(group, GroupList, {'user': user})