プロジェクト

全般

プロフィール

Vote #70009

完了

Private checkbox ignored on issue creation with "Set own issues public or private" permission

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
高め
担当者:
-
カテゴリ:
Issues permissions_23
対象バージョン:
開始日:
2011/05/31
期日:
進捗率:

0%

予定工数:
category_id:
23
version_id:
35
issue_org_id:
8472
author_id:
29516
assigned_to_id:
0
comments:
12
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
27
ステータス-->[Closed]

説明

When a user creates a private issue, everybody who can view issues (defined in issue tracking permissions) can see it as if it was public.

Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.5
Rack version 1.1
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11


journals

How is set your roles issue visibility ?

Did you run migrations ?
--------------------------------------------------------------------------------
Hi,

The Set issues public or private parameter is set to true only for the manager role.
The developer has his Set own issues public or private set to true, everybody else has it set to false.

And yes, I run a migration from the version 1.1.3
--------------------------------------------------------------------------------
Sorry, I meant the "Issue visibility" combo :

!issue_visibility_combo.PNG!
--------------------------------------------------------------------------------

When two users have a developer role on the same project, with the 'Issues visibility' set to 'All non private issues' for that role, if developer A creates a private issue (with the status new), developer B can see it and update it.
Furthermore, an anonymous member can also see it (while his issue visibility is also set to 'All non private issues').

It behaves as if the Issue tracking > View Issues parameter was not taking into account the private/public parameter of the issue.
--------------------------------------------------------------------------------
Can not reproduce this issue. Any plugin installed?
--------------------------------------------------------------------------------
Only one: the Redmine Theme Changer plugin.

--------------------------------------------------------------------------------
I have reproduced :
* if "Set issues public or private" is checked and "Set own issues public or private" is checked, private flag is registered at issue creation
* if "Set issues public or private" is *unchecked* and "Set own issues public or private" is checked, it does not work

--------------------------------------------------------------------------------
Got it. Actually, the "Private" checkbox is ignored when the user creates an issue and has only the "Set own issues public or private" permission. The issue is not created as a private issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r5991.
--------------------------------------------------------------------------------
Great! It works fine, thanks a lot!
--------------------------------------------------------------------------------
Merged in 1.2-stable.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,8814,Private checkbox ignored on issue creation with "Set own issues public or private" permission

Admin Redmine さんがほぼ2年前に更新

  • カテゴリIssues permissions_23 にセット
  • 対象バージョン1.2.1_35 にセット

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

いいね!0
いいね!0