find groups page shows wrong "Edit"

Bug #787359 reported by Heinz Krettek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Hugh Davenport

Bug Description

Hi,

http://ewiesion.com/mb/group/find.php?filter=all

shows a group where I am a member. I see the button to "Edit" altho I am not allowed to do so. Clicking "edit" displays red [[canteditdontown/mahara]]

and You are a member of this group
    Leave this group

HTH
Heinz

Changed in mahara:
importance: Undecided → Low
milestone: none → 1.4.0
status: New → Triaged
Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

Two bugs, the edit button showing up, and the incorrect lang string

Changed in mahara:
status: Triaged → Confirmed
assignee: nobody → Hugh Davenport (hugh-catalyst)
Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

also has a bug that it doesn't give the option to leave groups your in

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

https://reviews.mahara.org/244

fixes buttons issues

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hello Hugh,

The not being able to leave a group may not be a bug but a feature. If a user is in a controlled membership group, he can't leave unless the admin removes him.

Kristina

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

Hi Kristina,

The issue here was it was saying Edit/Delete for /all/ the groups, not just the one that the user was an admin for.
I've just done a quick test on my fix to see if it worked correctly for controlled groups, and it doesn't give option to leave as expected.

Cheers,

Hugh

Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.