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

OPS installs unsupported stages into user_group_stage table #10874

Closed
Vitaliy-1 opened this issue Feb 2, 2025 · 2 comments
Closed

OPS installs unsupported stages into user_group_stage table #10874

Vitaliy-1 opened this issue Feb 2, 2025 · 2 comments
Assignees
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.
Milestone

Comments

@Vitaliy-1
Copy link
Collaborator

Describe the bug
During installation, OPS installed default roles and includes unsupported stages to define to which stages they have access. See: https://github.com/pkp/ops/blob/614e5363f17494437d4db003ef25715f7e814193/registry/userGroups.xml#L17-L23 and

'stageId' => $stageId,

This adds WORKFLOW_STAGE_ID_SUBMISSION and WORKFLOW_STAGE_ID_PRODUCTION but OPS has only the latter stage: https://github.com/pkp/ops/blob/614e5363f17494437d4db003ef25715f7e814193/classes/core/Application.php#L179

What application are you using?
OPS main branch

@Vitaliy-1 Vitaliy-1 added the Bug:1:Low A bug that does not have a severe consequence or affects a small number of users. label Feb 2, 2025
@Vitaliy-1 Vitaliy-1 added this to the 3.5 Internal milestone Feb 2, 2025
@Vitaliy-1
Copy link
Collaborator Author

Vitaliy-1 commented Feb 3, 2025

OPS: pkp/ops#858
pkp-lib: #10883

tests for OJS: pkp/ojs#4641

Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Feb 4, 2025
Vitaliy-1 added a commit to Vitaliy-1/ops that referenced this issue Feb 5, 2025
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Feb 5, 2025
Vitaliy-1 added a commit to Vitaliy-1/ops that referenced this issue Feb 5, 2025
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Feb 5, 2025
Vitaliy-1 added a commit to Vitaliy-1/ops that referenced this issue Feb 5, 2025
Vitaliy-1 added a commit to Vitaliy-1/ops that referenced this issue Feb 6, 2025
@Vitaliy-1
Copy link
Collaborator Author

Related issues: #7599 and #7783.
@asmecher, can you review this? Do you think it's ok to remove submission stage from OPS now?

Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Feb 11, 2025
Vitaliy-1 added a commit to Vitaliy-1/ops that referenced this issue Feb 11, 2025
Vitaliy-1 added a commit to Vitaliy-1/ops that referenced this issue Feb 11, 2025
Vitaliy-1 added a commit that referenced this issue Feb 11, 2025
#10874 Omit WORKFLOW_STAGE_ID_SUBMISSION stage for OPS
Vitaliy-1 added a commit to pkp/ops that referenced this issue Feb 11, 2025
pkp/pkp-lib#10874 Remove submission stage from roles installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.
Projects
None yet
Development

No branches or pull requests

2 participants