Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !497

Merged
Created Nov 17, 2017 by Jérome Perrin@jeromeOwner

Allow Associate to share and release on document_publication_workflow

  • Overview 1
  • Commits 1
  • Changes 8

The background:

Following up !393 (merged) , 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feat/publication_workflow_transitions
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7