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

Program cycle approver cannot approve cycle using auto approve entitlement #648

Open
anthonymarkQA opened this issue Oct 28, 2024 · 3 comments · May be fixed by #674
Open

Program cycle approver cannot approve cycle using auto approve entitlement #648

anthonymarkQA opened this issue Oct 28, 2024 · 3 comments · May be fixed by #674
Assignees
Labels
bug Something isn't working

Comments

@anthonymarkQA
Copy link

Describe the bug
When auto approve is enabled, approving the cycle using global cycle approver will display an error since global cycle approver do not have enough access rights to access entitlements.

To Reproduce

  1. Login to instance http://openspp-openspp-modules-penn-585-1f2ad70d5513.runboatk8.newlogic-demo.com/web/login using GlobalCycleApprover available in 1pass
  2. Select "program manager's program" from the list of programs
  3. Attempt to approve Cycle 2. Notice an error will appear.

Expected behavior
If auto approve is enabled. program cycle approver role should have enough access rights to approve the entitlements as well.
Screenshots
Image

Additional context

🔔 Note: This ticket should address common considerations without including country-specific content. Please ensure all references are generic and applicable across various contexts.

@jannahadlaon
Copy link

jannahadlaon commented Nov 26, 2024

Findings: Returned to dev

Steps:

  1. Log in as admin in http://openspp-openspp-modules-jannah-648-aff400339975.runboatk8.newlogic-demo.com/web#action=347&model=res.partner&view_type=list&cids=1&menu_id=162
  2. Create a user with Global Program Cycle Approver role
  3. Create a Program
  4. Create a Cycle
  5. Prepare entitlement then click on To Approve button
  6. Log out as admin
  7. Log in using the credentials of the Global Program Cycle Approver created in step 2.
  8. Go to Programs
  9. Open the cycle created in step 4
  10. click on Approve button - see issue
    image

@jannahadlaon
Copy link

Findings: Returned to dev

Steps:

  1. Log in as admin in http://openspp-openspp-modules-jannah-648-2-aefafa973b63.runboatk8.newlogic-demo.com/
  2. Create a user with Global Program Cycle Approver role
  3. Create a Program
  4. Create a Cycle
  5. Prepare entitlement then click on To Approve button
  6. Log out as admin
  7. Log in using the credentials of the Global Program Cycle Approver created in step 2.
  8. Go to Programs
  9. Open the cycle created in step 4
  10. click on Approve button - see issue
    image

cc: @shashikala1998

@shashikala1998
Copy link
Contributor

This is worked on local, This ticket hold till runbot is sort out.because cannot install modules in the runbot instance and getting error and this is informed to edwin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants