Actions
Defect #39856
openMissing builtin groups on fresh install in Redmine 5
Status:
New
Priority:
Normal
Assignee:
-
Category:
Groups
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
Problem¶
An admin user visiting Group page in admin area after a fresh install won't see both GroupAnonymous and GroupNonMember.
Reason¶
With Redmine version 5 and higher there is a change in code loading leading also to some changes in Group class and its subclasses.
These changes causes buildin groups not to load properly.
- Group - GroupBuiltin - GroupAnonymous - GroupNonMember
Group class is responsible to load the builtin groups. Builtin groups, however, won't get loaded until `Project.allowed_to_condition` is called.
Solution¶
Load builtin group instances at the bottom of `Redmine::Preparation` to make sure they are immediately available.
No data to display
Actions