Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

  •  
     
    story #9534 import fine grained permissions
Summary
site admin
import fine grained permissions
Empty

Include into XML import format the definition of per references permissions.

Example:

<git>
    <repository>
        <permissions>
          <read>...</read>
          <write>...</write>
          <fine_grained enabled="1" regexp_usage="true">
            <pattern value="dev/.*" type="branch">
                <write>...</write>
                <wplus>...</wplus>
            </pattern>
            <pattern value="dev/.*" type="tag">
                <write>...</write>
                <wplus>...</wplus>
            </pattern>
          </fine_grained>
        </permissions>
    </repository>
</git>

Limitations & behaviour:

  • For each pattern, the value attribute is the path without the "refs/heads/" or "refs/tags" prefix. They are distinguised by the type attribute, that can only be set to "branch" or "tag"
  • Global regexp usage is taken into account
    • If a regexp is submitted and the platform does not use the regexp, it's ignored and a warning is emitted
    • If a regexp is submitted and the repository does not use the regexp, it's ignored and a warning is emitted
  • When "fine-grained" are used, only <read> global permission is taken into account
    • If there are <write> or <wplus> markups, they are ignored and a warning is emitted
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#9534
Manuel Vacelet (vaceletm)
2016-12-28 10:18
2016-10-03 10:50
10016

References
Referencing story #9534

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • I want to
    -import fine grain permissions 
    +import fine grained permissions 
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes