Project

General

Profile

Actions

Bug #1856

open

Missing builtin groups on fresh install

Added by liaham over 1 year ago. Updated 7 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Affected Version:
Compatible Redmine 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.

Actions #1

Updated by liaham over 1 year ago

  • Status changed from New to Feedback
Actions #2

Updated by liaham over 1 year ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by liaham over 1 year ago

  • Status changed from Closed to Feedback
  • % Done changed from 100 to 0
Actions #5

Updated by liaham 7 months ago

  • Target version set to reported
Actions

Also available in: Atom PDF