Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behaviour: add a new permission so that teachers can only view behaviours created by them #1825

Conversation

ali-ichk
Copy link
Contributor

Description
Added the _my permission in the behaviour_view and behaviour_view_details page so that teachers and staff are restricted to only view the behaviour records created by them.

ali-ichk and others added 4 commits April 24, 2024 15:28
CHANGELOG.txt Outdated Show resolved Hide resolved
Copy link
Member

@SKuipers SKuipers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Ali, this is looking excellent, with a lot of good thinking and troubleshooting having gone into it. I've added some notes and suggestions, based on reading the code in more detail, but many are just ways to tidy it up some more, rather than logic changes. Thanks again 😄

src/Domain/Behaviour/BehaviourGateway.php Outdated Show resolved Hide resolved
modules/Behaviour/moduleFunctions.php Outdated Show resolved Hide resolved
modules/Behaviour/moduleFunctions.php Show resolved Hide resolved
modules/Students/student_view_details.php Outdated Show resolved Hide resolved
src/Domain/Behaviour/BehaviourGateway.php Outdated Show resolved Hide resolved
src/Domain/Behaviour/BehaviourGateway.php Outdated Show resolved Hide resolved
@ali-ichk ali-ichk requested a review from SKuipers April 29, 2024 05:13
Copy link
Member

@SKuipers SKuipers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

@SKuipers SKuipers merged commit be30ae0 into GibbonEdu:v27.0.00 Apr 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants