•  
      story #13237 Prevent restricted to be added to private projects
    Summary
    Empty
    Prevent restricted to be added to private projects
    Empty

    Follow-up to story #12554

    • Project admin can no longer add restricted users to project members (and user groups)
      • Users are not proposed in autocompletion
    • When a user is switched to restricted, the user is removed from all projects that are "private w/o restricted" (and all user groups)
      • There is a warning message to confirm the action (User is going to be removed from X projects).
    • When a project is switched to "private w/o restricted", all restricted users are removed from project members (and all user groups)
      • There is a big warning message specific to this switch to confirm (when there are restricted): "X users are going to be removed from this project".
    • Binding of user groups must filter restricted users when target group is a "private w/o restricted" project.
    • On LDAP sync of user groups, the users are filtered to remove restricted that should land in "private w/o restricted" project.
      • Warning, user filters (that control how users are created/updated on the platform from LDAP) must be applied before the "private w/o restricted" filter.
    • The 4 level of project access must be managed a project creation
      • Should be proposed in the web UI
      • Should be managed as default value for project creation
        • The local.inc config "$sys_is_project_public = 1;" is put in the DB (and can manage de 4 possible default values) and managable by the web ui and "tuleap set-config" CLI
    Empty
    Empty
    Status
    Empty
    Done
    Development
    • [x] Does it involves User Interface? 
    • [x] Are there any mockups?
    • [x] 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
    #13237
    Nicolas Terray (nterray)
    2019-04-30 14:11
    2019-04-07 00:52
    4190

    References

    Follow-ups

    User avatar
    • I want to
      -Introduce new level of visibility (private without restricted) 
      +Prevent restricted to be added to private projects 
    • So that
      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
    • 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