Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !497

Allow Associate to share and release on document_publication_workflow

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge feat/publication_workflow_transitions into master Nov 17, 2017
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 8

The background:

Following up https://lab.nexedi.com/nexedi/erp5/merge_requests/393 , we updated security configuration used in Nexedi ERP5 , we wanted to add a security rule so that users uploading a Personal/Private document are allowed to "share" that document (technically, it's sharing with themselves only because it's a private document, but it's useful to distinguish from drafts).

Then we discovered that in the current workflow configuration, only Assignor role is allowed to share, but Assignor is also allowed to publish, but we did not want users to publish their personal documents..


Original commit message:

Previously, only Assignor was able to publish, share and release, this make it impossible to have security configuration where some user can only share and not publish documents.

To address this issue in the more backward compatible way possible, we enable these transitions for Associate and keep them enabled for Assignor role.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feat/publication_workflow_transitions
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7