-
Notifications
You must be signed in to change notification settings - Fork 946
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
[backend/frontend] Danger zone: Remove FF (#8284) #8905
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/6.4.0 #8905 +/- ##
=================================================
+ Coverage 64.33% 65.47% +1.14%
=================================================
Files 608 609 +1
Lines 58054 58563 +509
Branches 6409 7528 +1119
=================================================
+ Hits 37348 38346 +998
+ Misses 20706 20217 -489 ☔ View full report in Codecov by Sentry. |
opencti-platform/opencti-front/src/private/components/settings/RulesList.jsx
Outdated
Show resolved
Hide resolved
156e363
to
992c926
Compare
b311e90
to
98a14f3
Compare
@@ -467,7 +467,7 @@ const Group = ({ groupData }: { groupData: Group_group$key }) => { | |||
</Grid> | |||
<GroupEdition | |||
groupId={group.id} | |||
disabled={!isAllowed} | |||
disabled={!isAllowed && isSensitive} |
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.
why this change ?
I would naively think that isAllowed is always true if isSensitive is false (a non-sensitive zone is always granted).
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.
because the edit button was disabled for non sensitive Group/Role if user was not allowed (not allowed to modified sensitive Group/Role )
I don't see what is not aligned, could you explain? 💐 |
Proposed changes
Related issues
Checklist
Further comments