Project

General

Profile

Actions

Bug #3622

open

[API] [refactor] Move system_group, system_user, etc to class methods in Group and User

Added by Tom Clegg over 9 years ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Story points:
0.5
Release:
Release relationship:
Auto

Description

Examples:

Is now Should be
system_user User.find_system_user
system_user_uuid User.find_system_user.uuid
system_group Group.find_system_group
Group.where(...).select{|g|/-f+$/ =~ g.uuid}.first Group.find_all_users_group

Related issues

Related to Arvados - Bug #3604: [Workbench] theming support for login and inactive user page is broken (maybe elsewhere too)ResolvedTom Clegg08/18/2014Actions
Actions

Also available in: Atom PDF