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

pure refactor: move auth checks into decorator #780

Merged
merged 2 commits into from
Feb 7, 2020
Merged

Conversation

redshiftzero
Copy link
Contributor

Description

Related to #761

Test Plan

Standard test plan is the way to go here

Checklist

If these changes modify code paths involving cryptography, the opening of files in VMs or network (via the RPC service) traffic, Qubes testing in the staging environment is required. For fine tuning of the graphical user interface, testing in any environment in Qubes is required. Please check as applicable:

  • I have tested these changes in the appropriate Qubes environment
  • I do not have an appropriate Qubes OS workstation set up (the reviewer will need to test these changes)
  • These changes should not need testing in Qubes

If these changes add or remove files other than client code, packaging logic (e.g., the AppArmor profile) may need to be updated. Please check as applicable:

  • I have submitted a separate PR to the packaging repo
  • No update to the packaging logic (e.g., AppArmor profile) is required for these changes
  • I don't know and would appreciate guidance

@redshiftzero
Copy link
Contributor Author

(probably best to merge #739 first and then rebase this on top of it)

@@ -517,6 +527,7 @@ def set_status(self, message, duration=5000):
"""
self.gui.update_activity_status(message, duration)

@login_required
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: i think this can be removed from here

@sssoleileraaa sssoleileraaa merged commit 893904d into master Feb 7, 2020
@sssoleileraaa sssoleileraaa deleted the auth-decorator branch February 7, 2020 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants