-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Support workday manager structure #721
Conversation
…file and resource owner flag.
…file and resource owner flag.
…ub.com/equinor/fusion-app-resources into feat/workday-manager-structure-support
…r-structure-support
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.
Some context around changes made
src/backend/Fusion.Resources.Authorization/IAuthorizationRequirementExtensions.cs
Show resolved
Hide resolved
src/backend/Fusion.Resources.Authorization/Requirements/ResourceOwnerRequirement.cs
Outdated
Show resolved
Hide resolved
src/backend/api/Fusion.Resources.Api/Authorization/Extensions/RequirementsBuilderExtensions.cs
Show resolved
Hide resolved
src/backend/api/Fusion.Resources.Api/Controllers/Filter/EmulatedUserSupport.cs
Show resolved
Hide resolved
src/backend/api/Fusion.Resources.Api/Controllers/Personnel/InternalPersonnelController.cs
Show resolved
Hide resolved
src/backend/api/Fusion.Resources.Api/Controllers/Requests/DepartmentRequestsController.cs
Show resolved
Hide resolved
src/backend/api/Fusion.Resources.Api/Deployment/k8s/pr-deployment-env.yml
Show resolved
Hide resolved
src/backend/tests/Fusion.Resources.Api.Tests/Fixture/ResourceApiFixture.cs
Show resolved
Hide resolved
src/backend/tests/Fusion.Resources.Api.Tests/IntegrationTests/DepartmentRequestsTests.cs
Show resolved
Hide resolved
Can be tested @
|
src/backend/api/Fusion.Resources.Api/Controllers/Requests/DepartmentRequestsController.cs
Show resolved
Hide resolved
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.
Added some comments. Does this PR have a connected work item in DevOps? To keep track of its release
src/backend/api/Fusion.Resources.Api/Authentication/ResourcesLocalClaimsTransformation.cs
Outdated
Show resolved
Hide resolved
src/backend/Fusion.Resources.Authorization/Requirements/ResourceOwnerRequirement.cs
Outdated
Show resolved
Hide resolved
src/backend/api/Fusion.Resources.Api/Controllers/Requests/DepartmentRequestsController.cs
Show resolved
Hide resolved
src/backend/tests/Fusion.Testing.Mocks.ProfileService/PeopleServiceMock.cs
Show resolved
Hide resolved
…ocalClaimsTransformation.cs Co-authored-by: Jonathan Idland Olsnes <[email protected]>
…ub.com/equinor/fusion-app-resources into feat/workday-manager-structure-support
…r-structure-support
src/backend/api/Fusion.Resources.Api/Authentication/ResourcesLocalClaimsTransformation.cs
Show resolved
Hide resolved
…r-structure-support
Description of work:
Managers structure is changed when workday is rolled out. The manager will no longer be in the department he/she is maanger for. This means they are moved one level up.
Logics we have where
isResourceOwner
is combined withfullDepartment
cannot be used as is.Testing:
TBD, tests must be refactored as setup for manager structure will be more complex
Checklist: