Project

General

Profile

Actions

Patch #27510

closed

Introduce active? method to Group via Principal model

Added by Aleksandar Pavic about 7 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Groups should have "active" method, because they can be assigned issues to, and are treated in many ways as users.

Some plugins like https://github.com/Restream/redmine_reminder use it, and even cause error as described here
https://github.com/Restream/redmine_reminder/issues/5

Even though it could be resolved as a plugin my opinion is that groups.rb model should have active method, simply because they
already have status attribute...

So proposed is to add active? method, as provided in patch file.


Files

group.rb.diff (276 Bytes) group.rb.diff Aleksandar Pavic, 2017-11-10 14:35
27510.patch (1.34 KB) 27510.patch Go MAEDA, 2024-08-18 08:05
27510-v2.patch (1.06 KB) 27510-v2.patch Go MAEDA, 2024-08-20 05:25
Actions

Also available in: Atom PDF