Redmine 4 All users within project Privileges

Added by Rok Kotnik about 1 month ago

Hi,

At the moment we have redmine 4 configured, that all project watchers can reply over email - email link will open redmine ticket from where they can create action.

How we can setup, so that all users from Project will be able to open link without beeing watchers and so they dont get Error You are not authorized to access this page.

Any suggestions ?

Replies (5)

RE: Redmine 4 All users within project Privileges - Added by Lorenzo Meneghetti about 1 month ago

Hello, please review your knowledge of roles.
Every redmine user is a member of a project with a role, and a watcher should be a project'member too.
Also non-watcher users that are member of a project shouls be able to open the link based on their role (and the role to reply to a mail notice should have at least add_notes permission).

Thanks
Lorenzo

RE: Redmine 4 All users within project Privileges - Added by Rok Kotnik about 1 month ago

Hi,

Thanks for replly.

This current Projet have Xname Role set which is:
*i Attached screenshot

But users still get error in browser: 403
You are not authorized to access this page.

And production log:
Processing by IssuesController#show as HTML
Parameters: {"id"=>"11111"}
Current user: user1 (id=11111)
Rendering common/error.html.erb within layouts/base
Rendered common/error.html.erb within layouts/base (0.1ms)
Completed 403 Forbidden in 58ms (Views: 27.5ms | ActiveRecord: 15.7ms)

roles.PNG (62.7 KB)

RE: Redmine 4 All users within project Privileges - Added by Rok Kotnik about 1 month ago

I checked our older Redmine 3, where this feature worked with same roles. Could this is because of Redmine plugin Redmine tweaks and later in database i noticed these following settings Under Roles tables with column settings:
--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
permissions_all_trackers: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
view_issues: '1'
add_issues: '1'
edit_issues: '1'
add_issue_notes: '1'
delete_issues: '1'
permissions_tracker_ids: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
view_issues: []
add_issues: []
edit_issues: []
add_issue_notes: []
delete_issues: []

Does this work on Redmine 3 because of this ? and is this settings field in DB because of this plugin ?

RE: Redmine 4 All users within project Privileges - Added by Lorenzo Meneghetti about 1 month ago

Hello, the problem is with Issues Visibility options you choose for the role in the attached image. You have "Issues created by or assigned to the user" so only author or assignee can see that issue.
You have to review your roles.
Thanks
Lorenzo

RE: Redmine 4 All users within project Privileges - Added by Rok Kotnik about 1 month ago

Yeah i checked roles, which are the same as they were on Redmine3 because DB was copied. Visibility optios is "Issues created by or assigned to the user" which is the same as on the Redmine3. As i said but we do have some adittional settings under Roles in Database but i dont think they work because Models from Redmine4 and Redmine3 are not the same.

If i change Role visivility options to all will users in X project only see all tickets from project X OR from all projects on redmine 4 ?

BR

(1-5/5)