1. 11 May, 2009 1 commit
  2. 07 Apr, 2009 1 commit
  3. 23 Mar, 2009 1 commit
  4. 05 Jan, 2009 1 commit
  5. 21 Dec, 2008 1 commit
  6. 01 Dec, 2008 1 commit
  7. 13 Nov, 2008 1 commit
  8. 12 Nov, 2008 1 commit
  9. 10 Nov, 2008 1 commit
  10. 15 Oct, 2008 1 commit
  11. 29 Aug, 2008 1 commit
  12. 28 Aug, 2008 1 commit
  13. 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
  14. 25 Jul, 2008 1 commit
  15. 23 Jul, 2008 2 commits
  16. 21 Jul, 2008 2 commits
  17. 15 Jul, 2008 2 commits
  18. 11 Jul, 2008 1 commit
  19. 02 Jul, 2008 2 commits
  20. 25 Jun, 2008 1 commit
  21. 22 Feb, 2008 2 commits
  22. 21 Feb, 2008 2 commits
  23. 20 Feb, 2008 1 commit
  24. 19 Feb, 2008 1 commit
  25. 16 Feb, 2008 3 commits
  26. 11 Feb, 2008 1 commit
  27. 07 Feb, 2008 1 commit
  28. 06 Feb, 2008 1 commit
  29. 05 Feb, 2008 2 commits
  30. 31 Jan, 2008 1 commit