Limited access to projects based on auth mode type

Added by Krzysztof Rosiński almost 10 years ago

What part of redmine core is responsible for displaying/accessing projects based on some user permissions? Is it possible to add a kind of filter which permits access to all public project to the users who are auth using redmine internal auth system?

I would like to get a result like this:

1. I have defined LDAP auth mode in my redmine instance, almost every user is accessing redmine through this mode.
2. I want to leave access to all public projects to those people.
3. I have 3 people who are using redmine internal auth mode to access redmine.
4. I want them no to see public/private projects until they are a member of the project.

Where should I start looking for a solution? I'm not a best ruby programmer, but can try to do it myself once I would get some assistance :)

Warm regards,
Chris

Replies (1)

RE: Limited access to projects based on auth mode type - Added by Krzysztof Rosiński almost 10 years ago

I can only suppose that this can be resolved by adding somewhere a condition like this:

   unless user.auth_source_id == 1
   (...) 
   end

The question is - where?

Warm regards,
Chris

(1-1/1)