プロジェクト

全般

プロフィール

Vote #66115

完了

Not perfect svn auth thru perl module

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Permissions and roles_17
対象バージョン:
開始日:
2009/12/04
期日:
進捗率:

0%

予定工数:
category_id:
17
version_id:
6
issue_org_id:
4338
author_id:
10139
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
13
ステータス-->[Closed]

説明

Its really greate feature, but i have one valueble notice:

svn repo here:
http://example.com/svn/project1

In redmine user John is a participant of Project1 but he dont have access to repo, and in redmine he dont have module.
But if he goes to http://example.com/svn/project1 and type his login and password he will got access to repo.
Its very bad for me, because i have some people that must not have access to repo and must have access to trackers.
thank you.


journals

My native language is Russian. Я говорю по-русски:)
--------------------------------------------------------------------------------
Unfortunately, я не говорю по-русски (well, not anymore than that, obviously ;-) ), but I think we will find a solution for that.

So basically, what you are asking for should be solvable with the roles and permissions in Redmine. Have a look at _Adminitration_ (top left menu) > _Roles and permissions_ > _Permission Report_ (at the bottom), there you have an overview of all permissions you can give to a particular role or "class of users". Scroll down a bit to get to the _Repository_ section, in which you have the _Browse repository_ and _Commit access_ permissions. Those give respectively read and write access to the _Repository_ tab and the "real" repository of a project.

Please note that for a public project, anyone logged in but not in the project will have the role _Non member_, and for a public Redmine, anyone not logged in has the role _Anonymous_. For more information, have a look at the [[guide]], it might give more detail on some options.
--------------------------------------------------------------------------------
i swear that no one box is checked in http://localhost/redmine/roles/report
but when user goes to localhost/svn/project1 and type login:pass he can view repo.
maybe it is a bug?
--------------------------------------------------------------------------------
Are you sure you are using redmine for authentication?

See http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl

PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler

are the cruicial parts.

/T
--------------------------------------------------------------------------------
Thomas Pihl wrote:
> Are you sure you are using redmine for authentication?
>
> See http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl
>
> PerlAccessHandler Apache::Authn::Redmine::access_handler
> PerlAuthenHandler Apache::Authn::Redmine::authen_handler
>
> are the cruicial parts.
>
> /T

Ofcourse i use redmine authentication, but this method auth whole list of project participants, not only roles with access to repository.
--------------------------------------------------------------------------------
Fixed in r3215. Redmine.pm now checks that the user has the browse_repositories permission.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリPermissions and roles_17 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0