#423: Any modification to a groups projects leaves group.access_to_all_projects == true (Fixed)
Jul 17 2008 * 13:59
| Reported by: | Assigned to: | ||
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Release: | 1.1-M2 | Component: | Administration |
When modifying a group to add or remove a project, the group is consistently left with access_to_all_groups as true.
I may not be fully understanding the issue, but it looks like line 15 of models/group.rb may be the cause:
attr_protected :permissions, :projects, :project_ids, :access_to_all_projects
Behaviour is appears correct when it’s changed to:
attr_protected :permissions, :projects, :project_ids
Am I missing the reason for access_to_all_projects to be protected?
Changelog:
Modified by – Aug 04 2008 * 20:46
True, there is no reason for any protected attributes in Group. There is a lot legacy code in Retrospectiva, that’s the reason why I started a complete rewrite (using best practices). Stay tuned for the new release …
Modified by – Aug 04 2008 * 20:56
- Status changed from Open to Fixed
[r513] – Fixed group assignment permissions


RSS feeds