-
Notifications
You must be signed in to change notification settings - Fork 4
Cache the results of is_admin_or_superuser_check #146
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -151,8 +151,6 @@ def configure_enforcer_auto_save_and_load(cls): | |
|
|
||
| if auto_load_policy_interval > 0: | ||
| cls.configure_enforcer_auto_loading(auto_load_policy_interval) | ||
| else: | ||
| logger.warning("CASBIN_AUTO_LOAD_POLICY_INTERVAL is not set or zero; auto-load is disabled.") | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This warning was firing several times in a request, I don't think we need it anymore? |
||
|
|
||
| cls.configure_enforcer_auto_save(auto_save_policy) | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,3 +10,6 @@ | |
|
|
||
| # Common constraints for edx repos | ||
| -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt | ||
|
|
||
| # Different packages want different versions of click, we force the most compatible one here | ||
| click==8.3.0 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is another pip-tools issue that was blocking |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the fix we've been using elsewhere to deal with the current pip-tools compatibility issues with pip.