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

Permissions frameworks core merge into to 7.6.x #11005

Merged
merged 83 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
908e949
centralize permissions imports
philtweir Jun 24, 2023
ee569f8
resolve circular imports
philtweir Jun 24, 2023
8fbe465
initial attempt to centralize permissions
philtweir Jun 24, 2023
2a1ddde
make permissions framework settable
philtweir Jun 24, 2023
c1e8aa6
tidy missing methods
philtweir Jun 27, 2023
27232cd
minor permission framework bugfixes
philtweir Sep 23, 2023
e1220ae
correct signature for process_new_user
philtweir Oct 2, 2023
b0791b3
add signals for user/group
philtweir Apr 24, 2024
ea5ec94
implement dummy hooks for standard model for user/group/permission up…
philtweir Dec 7, 2023
4d604ff
move additional permission checks into PermissionFramework
philtweir Apr 24, 2024
1483e0d
enable users to see the usual nodes
philtweir Dec 19, 2023
189137d
restore user_can_read_graph
philtweir Jan 23, 2024
ad1c5de
use ExtensionType for permissions frameworks
philtweir May 1, 2024
94ab9a5
fix: tidy up default-deny
philtweir May 6, 2024
aefaa04
fix: mostly adding types to ArchesStandardPermissionFramework
philtweir May 6, 2024
2e22944
feat: add set-required (TBC) - this would allow both future-core and …
philtweir May 6, 2024
fb707e6
fix: move logic from arches.app.utils.permission_backend to where it …
philtweir May 6, 2024
43183ef
fix: move group_required logic to PermissionFramework, as otherwise u…
philtweir May 6, 2024
bd11f78
tests: add tests for permissions frameworks
philtweir May 6, 2024
0f6a8b7
fix: == to is in False comparison
philtweir May 6, 2024
3025687
use nodegroup pks rather than full object when permission-checking, i…
philtweir Apr 25, 2024
db9c7fe
time_wheel to use string nodegroups
philtweir May 6, 2024
fccf567
fix: remove dauthz references
philtweir May 30, 2024
f020aca
feat: add get_createable_resource_models to allow get_createable_reso…
philtweir May 30, 2024
5793fe2
Merge pull request #10833 from flaxandteal/feature/permissions-core
aarongundel Jun 3, 2024
70e00d5
Merge branch 'dev/7.6.x' into permissions_core
aarongundel Jun 3, 2024
3b86d28
fix problem with lazy settings load
aarongundel Jun 5, 2024
381ccb4
fix systemsettings import
aarongundel Jun 5, 2024
327895d
fix issue that caused system settings not to work for any user
aarongundel Jun 5, 2024
85c692a
remove unnecessary file
aarongundel Jun 5, 2024
324144c
add note about permissions frameworks to release notes
aarongundel Jun 5, 2024
8fa8cbe
fix: get_nodegroups_by_perm now returns IDs, so filter tiles by nodeg…
philtweir Jun 8, 2024
6f292f1
Merge pull request #11018 from flaxandteal/feature/permissions-core
aarongundel Jun 12, 2024
33ebece
fixes for permissions manager, additions to backend for search
aarongundel Jun 14, 2024
2c529da
Merge branch 'dev/7.6.x' into permissions_core
aarongundel Jun 14, 2024
10a8402
remove guardian shorcuts
aarongundel Jun 17, 2024
4062db2
reformatting commit
aarongundel Jun 17, 2024
a4d4334
update resource.py to add creator retrieval
aarongundel Jun 17, 2024
0e54426
reference self rather than parameter
aarongundel Jun 17, 2024
cea505d
fix issue re: resource vs resourceinstance
aarongundel Jun 17, 2024
b58f418
test fixes
aarongundel Jun 17, 2024
5815657
comment out unnecssary test
aarongundel Jun 17, 2024
af9b2bf
Merge branch 'dev/7.6.x' into permissions_core
aarongundel Jun 17, 2024
9d4e899
test fixes
aarongundel Jun 18, 2024
7d807c7
reset release notes
aarongundel Jun 19, 2024
877fd26
remove auto-formatting from .md
aarongundel Jun 19, 2024
a1ecddc
ignore guardian warning about not being hooked up
aarongundel Jun 19, 2024
91401f6
test fixes
aarongundel Jun 19, 2024
e0705f8
fix bug with resource type picker
aarongundel Jun 19, 2024
4cb09bc
fix test nit
aarongundel Jun 19, 2024
dee37e5
pr feedback
aarongundel Jun 19, 2024
edfa7ff
more succinct
aarongundel Jun 19, 2024
3505773
add principal user
philtweir Jun 19, 2024
e071b3e
Merge pull request #11067 from flaxandteal/feature/permissions-core-w…
aarongundel Jun 20, 2024
ba46111
PR feedback, principal user addition
aarongundel Jun 20, 2024
8944f1a
Merge branch 'dev/7.6.x' into permissions_core
aarongundel Jun 20, 2024
deaa011
raise valueerror with invalid graph_id
aarongundel Jun 20, 2024
7ac412a
cleanup
aarongundel Jun 20, 2024
0232224
formatting fix
aarongundel Jun 20, 2024
faa63c6
do not, by default, override silenced system checks (but allows users…
aarongundel Jun 20, 2024
ee4783f
fixes search with principal user
aarongundel Jun 21, 2024
cdeb97c
updates migration to default principal user
aarongundel Jun 21, 2024
1d44466
feedback
aarongundel Jun 21, 2024
a397aab
updates tests
aarongundel Jun 21, 2024
8c46c2b
test feedback and fixes
aarongundel Jun 24, 2024
2c16924
enhance subtest
aarongundel Jun 24, 2024
bf30da9
fixes issues with uuids/strings
aarongundel Jun 24, 2024
972c7f2
proper prefetch usage
aarongundel Jun 25, 2024
6f69f18
performance for 10999 migration
aarongundel Jun 25, 2024
595ceca
cleanup
aarongundel Jun 25, 2024
dbb931e
remove client
aarongundel Jun 25, 2024
4e5adab
update release notes to announce breaking change re: get_nodegroups_b…
aarongundel Jun 25, 2024
8bf1aac
Merge branch 'dev/7.6.x' into permissions_core
aarongundel Jun 25, 2024
0fb404b
reorder query for performance
aarongundel Jun 25, 2024
b477e4f
fix issue that would cause tiles not to populate
aarongundel Jun 26, 2024
96cef3e
Merge branch 'dev/7.6.x' into permissions_core
aarongundel Jun 27, 2024
7a0b1f7
performance enhancer
aarongundel Jun 28, 2024
a1924c8
nits
aarongundel Jun 28, 2024
9bacc55
unbreaking consts
aarongundel Jun 28, 2024
4ff5a97
PR feedback
aarongundel Jun 29, 2024
16372d6
stomp strings in get_instance_creator
aarongundel Jul 2, 2024
87cb692
yank uncessary cast
aarongundel Jul 2, 2024
7d25656
default creatorid
aarongundel Jul 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arches/app/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ class ExtensionType(Enum):
ETL_MODULES = "etl_modules"
FUNCTIONS = "functions"
SEARCH_COMPONENTS = "search_components"
PERMISSIONS_FRAMEWORKS = "permissions"
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: the declaration and string should match

36 changes: 32 additions & 4 deletions arches/app/media/css/arches.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2982,10 +2982,6 @@ span.icon-wrap.icon-circle.bg-gray-dark:hover {
border-bottom: 1px solid #D3E5F4
}

.permissions-table-row:nth-child(odd) {
background: #F5FAFE;
}

.permissions-table-row.selected {
background-color: #F1F1FF;
}
Expand Down Expand Up @@ -12870,3 +12866,35 @@ table.csv-mapping-table td {
.notif-table th{
text-align: start;
}


.permissions-options {
display: flex;
flex-direction: row;

div {
flex: 1;
align-items: center;
display: flex;
}

.form-checkbox.form-normal:before,.form-radio.form-normal:before {
content: '';
display: block;
width: 16px;
height: 16px;
background-color: transparent;
border: 1px solid #c3cedb;
border-radius: 0;
left: 0;
margin: 0 3px;
}

.form-checkbox>input[type="checkbox"], .form-radio>input[type="radio"]{
display: none;
}

label.form-checkbox.form-normal span{
width: auto;
}
}
Loading
Loading