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

grant view privileges to developers on all published user events #1398

Merged
merged 2 commits into from
May 2, 2016
Merged

grant view privileges to developers on all published user events #1398

merged 2 commits into from
May 2, 2016

Conversation

stopfstedt
Copy link
Member

@stopfstedt stopfstedt commented Apr 30, 2016

fixes #1391

refs #1079

// then do not grant access to view un-published events.
if ($this->userHasRole($user, ['Faculty', 'Course Director', 'Developer'])) {
// users with developer roles can see their own events, regardless of publication status.
// and any other published events that are no theirs.
Copy link
Member

Choose a reason for hiding this comment

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

that are not theirs

@jrjohnson jrjohnson merged commit d37891e into ilios:master May 2, 2016
@stopfstedt stopfstedt deleted the 1391_developer_rights_to_any_user_events branch June 17, 2016 17:27
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.

Developers should be able to retrieve another users events
3 participants