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