-
Notifications
You must be signed in to change notification settings - Fork 13
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
IFC-758 Add roles, groups and permissions in demo data #4587
Conversation
CodSpeed Performance ReportMerging #4587 will not alter performanceComparing Summary
|
9a93cb0
to
3f82434
Compare
3f82434
to
1b8426b
Compare
1b8426b
to
9f37b6c
Compare
6b934b2
to
826bc07
Compare
826bc07
to
a6f7af2
Compare
except NodeNotFoundError: | ||
obj = await client.create(branch=branch, kind="CoreObjectPermission", data=p.model_dump()) | ||
batch.add(task=obj.save, node=obj) | ||
store.set(key=name, node=obj) |
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.
We could use upsert mutations here to make it a bit easier to read when creating or ensuring that these exist. Not a blocker for now but perhaps an improvement for the next iteration. Do we need to create the global permissions as those should be created automatically?
They should be automatically created on infrahub init.
94bdf09
to
0e8b3bd
Compare
No description provided.