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

Display folder field in evidence when creating from it from an applied control #954

Merged

Conversation

nas-tabchiche
Copy link
Contributor

@nas-tabchiche nas-tabchiche commented Oct 17, 2024

As an applied control may be global, inheriting its domain will cause errors if the user attempting to create an evidence inside it does not have the permission to create an evidence in the global domain.

…d control

As an applied control may be global, inheriting its domain may cause errors if
the user attempting to create an evidence inside it may not have the permission
to create an evidence in the global domain.
Copy link
Collaborator

@Mohamed-Hacene Mohamed-Hacene left a comment

Choose a reason for hiding this comment

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

We also need to filter the "available" domains, because we could add an evidence in an applied control with a domain which has no parent relationship

@Mohamed-Hacene Mohamed-Hacene self-requested a review October 17, 2024 11:58
Copy link
Collaborator

@Mohamed-Hacene Mohamed-Hacene left a comment

Choose a reason for hiding this comment

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

Let's merge it for now, to be able to add an evidence in a global applied control withtout having a global role.

Erratum: Evidence is conceptually part of applied control, and not just a linked object as in the database. It is preferable not to allow its modification without a global role. #956

@Mohamed-Hacene Mohamed-Hacene merged commit e2aefd9 into main Oct 17, 2024
17 checks passed
@Mohamed-Hacene Mohamed-Hacene deleted the fix/select-domain-in-global-object-nested-create branch October 17, 2024 11:59
@github-actions github-actions bot locked and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants