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

New permissions code #9986

Merged
merged 10 commits into from
Mar 19, 2019
Merged

New permissions code #9986

merged 10 commits into from
Mar 19, 2019

Conversation

murrant
Copy link
Member

@murrant murrant commented Mar 18, 2019

Removes global
Caches permissions per request
Uses whereIn for Eloquent permissions checks instead of joins. That way we don't cause side effects.

Needed for an upcoming PR.

DO NOT DELETE THIS TEXT

Please note

Please read this information carefully. You can run ./scripts/pre-commit.php to check your code before submitting.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

@murrant murrant merged commit 00a1185 into librenms:master Mar 19, 2019
@murrant murrant deleted the permissions branch March 19, 2019 13:14
@lock lock bot locked as resolved and limited conversation to collaborators May 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant