Forums | Mahara Community

Support /
view's group

Maxime Rigo's profile picture
Posts: 10

22 April 2009, 7:46 AM


i search how group's view could be edit, create or delete only by admin's group. 


Heinz Krettek's profile picture
Posts: 480

22 April 2009, 10:00 AM

Hello Maxime,

greetings from the Black Forest (Germany).

I think there is no way to restrict the things you want to admins. The great advantage of the new group stuff is the ability to use collaborative work.

The developers may give you hints how to moditfy the code.

HTH Heinz

Nigel's profile picture
Posts: 1643

22 April 2009, 5:07 PM

Hi - there's no setting for it, so it would require modifying the code. You'd need to modify the group_create function in lib/group.php, as well as group/create.php. Some kind of check like:

if (!$USER->get('admin')) {
    throw new AccessDeniedException('Non-admins cannot create groups');
Maxime Rigo's profile picture
Posts: 10

23 April 2009, 4:13 AM

Ok thanks.

i known all is design for collaborative work but i think that some admin group want block view's modifications to prevent problems

Nicola Fiori's profile picture
Posts: 6

01 September 2009, 4:13 AM


If group type is course:controlled membership the members of group can only view. No modifications is allowed.

5 results