set many/all projects private at once and assign all users (e.g. as reporter)

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Ansgar Arbeiter
Posts: 2
Joined: 27 Aug 2019, 12:32

set many/all projects private at once and assign all users (e.g. as reporter)

Post by Ansgar Arbeiter »

we have a lot of projects (> 300) and some users (> 100) and we want to add some users/developers that should only see projects that they are assigned to.
most projects are public now.

the needes steps are:
- add all relevant users to each public project (don't forget at least one manager!)
- set all projects to private
- add new users
- add new projects and assign new users (or assign new users to the relevant existing projects)

as it will be big work to do this for all projects manually:
is there a way to do this by script?
(good would be "set all projects public but keep current rights for all users")
or is there an user option "only show projects that user is assigned to", that i don't know about yet?
Ansgar Arbeiter
Posts: 2
Joined: 27 Aug 2019, 12:32

Re: set many/all projects private at once and assign all users (e.g. as reporter)

Post by Ansgar Arbeiter »

what would be best solution:
global user access level "External"/"Excluded" (or like this) with access rights less than "Viewer", i.e. public projects are not shown unless the user is member of a project.
is this possible?
Post Reply