-
Notifications
You must be signed in to change notification settings - Fork 16
Auth synchronization #842
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
Auth synchronization #842
Conversation
- export used layer credentials on project sync - overwrite qgi_conf.xml if auth config changed, skip otherwise - import from file to auth db when project is opened
|
|
||
| def current_project_sync(self): | ||
| """Synchronise current Mergin Maps project.""" | ||
| AuthSync().export_auth(self.mc) |
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.
Just wondering, If here is permission check somewhere, or it's not called by design?
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.
it is inside the export method, do you prefer to put it outside?
JanCaha
left a comment
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.
I think this looks good 👍
Resolves #834
Export ➡️
qgis_conf.xmlImport ⬅️