Adding Journal - message displayed to user is misleading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Ghada El-Zoghbi | ||
18.04 |
Fix Released
|
Medium
|
Unassigned | ||
18.10 |
Fix Released
|
Medium
|
Unassigned | ||
19.04 |
Fix Released
|
Medium
|
Unassigned | ||
19.10 |
Fix Released
|
Medium
|
Ghada El-Zoghbi |
Bug Description
Mahara: 19.04.0
OS: Linux 16.04
DB: Postgres
Browser: FF and Chrome
The message displayed to a group member who is not allowed to enter a journal is misleading. They are given a link to 'Add one' but when they click on it, it displays they don't have permission to do so.
To reproduce:
* Create an institution: Inst1
* Add users to Inst1 - user1, admin1
* Create a group for Inst1:
Associated with institution: Inst1
Open = No
Controlled = Yes
Request = No
Friend Invitations = Yes
Create and edit: everyone except ordinary members
Publicly viewable group = No
Hide group = Yes
Hide membership = Hide members
Hide membership from members = No
Auto-add users = No
Shared page notifications = All group members
Comment notifications = All group members
* Add user1 with role = member to the group
* Add admin1 with role admin
* Log in as user1 and go to group > Journals
* Display message says: There are no journals in this group. Add one.
* Click on 'Add one' link
* User is presented with message they don't have permission.
* Expected: They should not be presented with the link to click 'Add one'.
Changed in mahara: | |
assignee: | nobody → Ghada El-Zoghbi (ghada-z) |
Changed in mahara: | |
importance: | Undecided → Medium |
Patch for "master" branch: https:/ /reviews. mahara. org/10078