Repository navigation
Conversation
Coverage Report for CI Build 38890653555Coverage increased (+0.2%) to 60.097%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions14 previously-covered lines in 2 files lost coverage.
Coverage Stats
💛 - Coveralls |
📦 Build Artifacts Ready
|
Withalion
approved these changes
Oct 15, 2026
Comment on lines
+146
to
+148
| QFile qgzFile( projectDir + "/" + projectName + ".qgz" ); | ||
| QVERIFY( qgzFile.open( QIODevice::WriteOnly ) ); | ||
| qgzFile.close(); |
Collaborator
There was a problem hiding this comment.
what's the point of this block?
Contributor
Author
There was a problem hiding this comment.
Creates an empty .qgz so LocalProjectsManager::findQgisProjectFile() finds a project file
Collaborator
|
Also rebase it on current master for iOS to pass as well |
xkello
force-pushed
the
feature/add-support-for-user-roles
branch
from
October 16, 2026 10:57
fd3a5e7 to
b53964d
Compare
📦 Build Artifacts Ready
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #4648
Adds the
@mm_project_rolevariable, which returns the current user's role on the open project, so expressions and default values can depend on it.What changed
VariablesManager::setProjectVariables()setsmm_project_rolefrom the role cached in the project metadata, next to the othermm_project_*variables.removeMerginProjectVariables()also removesmm_project_role.projectRoleUpdated) and on sign in or sign out (authChanged).TestVariablesManager::testProjectRoleVariable().Behaviour
reader,editor,writerorowner.