1. 07 Apr, 2009 1 commit
  2. 23 Mar, 2009 1 commit
  3. 05 Jan, 2009 1 commit
  4. 21 Dec, 2008 1 commit
  5. 01 Dec, 2008 1 commit
  6. 13 Nov, 2008 1 commit
  7. 12 Nov, 2008 1 commit
  8. 10 Nov, 2008 1 commit
  9. 15 Oct, 2008 1 commit
  10. 29 Aug, 2008 1 commit
  11. 28 Aug, 2008 1 commit
  12. 20 Aug, 2008 2 commits
    • Nigel McNie's avatar
      Prevent role changing in groups if the user is the only admin. Add some... · 031a981c
      Nigel McNie authored
      Prevent role changing in groups if the user is the only admin. Add some functions to abstract role changing.
      
      This patch adds:
      
       * group_is_only_admin($group, $user)
       * group_can_change_role($group, $user, $newrole)
       * group_change_role($group, $user, $newrole)
      
      These functions are used on changerole.php, and also on the member listing page to prevent showing the change role link if the user is the only admin in the group.
      
      If the user has no roles that they can change to and changerole.php is visited, it will redirect back to the member listing with an informational message.
      031a981c
    • Nigel McNie's avatar
      Prevent users from leaving a group (in group_remove_user) when they are the... · 342e74f8
      Nigel McNie authored
      Prevent users from leaving a group (in group_remove_user) when they are the only admin in the group.
      
      Add caching to group_user_can_leave.
      342e74f8
  13. 25 Jul, 2008 1 commit
  14. 23 Jul, 2008 2 commits
  15. 21 Jul, 2008 2 commits
  16. 15 Jul, 2008 2 commits
  17. 11 Jul, 2008 1 commit
  18. 02 Jul, 2008 2 commits
  19. 25 Jun, 2008 1 commit
  20. 22 Feb, 2008 2 commits
  21. 21 Feb, 2008 2 commits
  22. 20 Feb, 2008 1 commit
  23. 19 Feb, 2008 1 commit
  24. 16 Feb, 2008 3 commits
  25. 11 Feb, 2008 1 commit
  26. 07 Feb, 2008 1 commit
  27. 06 Feb, 2008 1 commit
  28. 05 Feb, 2008 2 commits
  29. 31 Jan, 2008 2 commits