Project

General

Profile

Restrict access to projects for certain users

Added by Eric Schmidt almost 15 years ago

Hello!

I want to manage multiple projects with redmine.
Is there a way to restrict the access to the projects for certain users, so that some of them cannot even see all projects? If it's not possible, is there a way to deploy multiple "redmines" on the rails-webserver, so i could create different groups for each instance/project?

Thanks in advance for your answers!


Replies (6)

RE: Restrict access to projects for certain users - Added by Jean-Philippe Lang almost 15 years ago

Set the project as 'Private' in its settings and only project members will see it.

RE: Restrict access to projects for certain users - Added by Eric Schmidt almost 15 years ago

I'm sorry, my question wasn't precise enough...

I know that projects can be "private", so only members can see the project. All my projects are private.
But now i only want a group of certain members to see one of my projects. The best would be if the non-members of a project shouldn't even see that there are other projects than the ones for which i created roles (manager/developer/reporter) for them.
Is there a way to do that?

RE: Restrict access to projects for certain users - Added by Curtis Stewart over 14 years ago

Eric:

Did you every find a way to do this? I have what I believe is a similar issue. We have a large number of projects with a larger group of users, either working on a project (in which case they are a project member) or interested in the project so that can add issues, read the wikis, etc.

We now have an instance were we have two individuals where we only want them to be able to see one project and work on it. In the rest of the cases the public/private flag works perfect with a limited amount of administration. Now we have something different.

RE: Restrict access to projects for certain users - Added by Vinod Singh over 14 years ago

IMO it would be nice to have a flag at user level to restrict them to access only those projects where they are members. This is necessary in cases where clients and sub-contractors have access to Redmine installation. Though making projects private could be one solution but that makes projects invisible to internal users as well, which may not be desirable. This seems to be quite sought after feature as there are many similar requests out there, see these- #1544, #1086, #337 http://www.redmine.org/boards/2/topics/8587

RE: Restrict access to projects for certain users - Added by dominique brunel over 14 years ago

Hi

I have a quite similar issue, i.e : i'd like to allow access to the module "Issue" to my clients.. But only to the issues they have submitted. I don't want them to see the whole activity of the project, even the other issues posted by the members of redmine (ie my co-workers)

How do I manage that, if possible ?

thx

dmk

RE: Restrict access to projects for certain users - Added by Christophe Benz about 14 years ago

In my company we had the same problem.

In order to allow company employees to every project, I added an after_create hook to the Project model class (see attached patch).

I also developed a script to add every employees to every existing project.

Now every project is private and we add customers as project members.

The attached scripts know users are employees because I created a user custom field named "Employee".

Perhaps providing custom fine-grained semi-public status for each project (see http://www.redmine.org/boards/2/topics/8587) would be nicer.

The attached patch applies on redmine-0.8.7.

add_salaries_to_new_project.patch (809 Bytes) add_salaries_to_new_project.patch add employees to each new project
add_salaries_to_all_projects.rb (536 Bytes) add_salaries_to_all_projects.rb add employees to existing projects
    (1-6/6)