-
Notifications
You must be signed in to change notification settings - Fork 701
UN-3479 [FEAT] Org admin override on resources + ProfileManager sharing #1989
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
738e27f
feat(platform-api): service-account access for adapters, prompts, too…
chandrasekharan-zipstack 8654ee3
feat(permissions): admin override on IsOwner + profile sharing fields
chandrasekharan-zipstack 308b2bc
feat(permissions): admins see + edit every resource in their org
chandrasekharan-zipstack c261571
fix(profile-manager): scope for_user by organization to close shared_…
chandrasekharan-zipstack 9416b3d
fix(profile-manager): list create under IsOwner for intent
chandrasekharan-zipstack 2b370d9
refactor: hoist tenant/org imports to module top
chandrasekharan-zipstack e27229f
chore(profile-manager): tighten visibility/permission comments
chandrasekharan-zipstack 0f8211b
feat(permissions): admin bypass on non-frictionless adapters + role n…
chandrasekharan-zipstack a82cf50
Merge branch 'main' into feat/profile-admin-edit
chandrasekharan-zipstack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
31 changes: 31 additions & 0 deletions
31
...studio/prompt_profile_manager_v2/migrations/0005_profilemanager_shared_to_org_and_more.py
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Generated by Django 4.2.1 on 2026-05-24 08:36 | ||
|
|
||
| from django.conf import settings | ||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| migrations.swappable_dependency(settings.AUTH_USER_MODEL), | ||
| ("prompt_profile_manager_v2", "0004_merge_20250805_1025"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name="profilemanager", | ||
| name="shared_to_org", | ||
| field=models.BooleanField( | ||
| db_comment="Whether this profile is shared with the entire organization", | ||
| default=False, | ||
| ), | ||
| ), | ||
| migrations.AddField( | ||
| model_name="profilemanager", | ||
| name="shared_users", | ||
| field=models.ManyToManyField( | ||
| blank=True, | ||
| related_name="shared_profile_managers", | ||
| to=settings.AUTH_USER_MODEL, | ||
| ), | ||
| ), | ||
| ] |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.