Project

General

Profile

Actions

Feature #40248

closed

Can I enable inherit member from rails console?

Added by Cheng-Hui PENG about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid

Description

Hi there,

I have too many project needed to enable inherit member. Can I enable it from rails consle just like I use command to enable module for each project?


Files

clipboard-202402172122-qyzsi.png (2.75 KB) clipboard-202402172122-qyzsi.png Cheng-Hui PENG, 2024-02-17 14:22
Actions #1

Updated by Marius BÄ‚LTEANU about 2 months ago

  • Status changed from New to Closed
  • Resolution set to Invalid

The answer is yes, but please request help using Forums.

It should be something like this:


irb(main):001> project = Project.find(<project_id>)
irb(main):002> project.inherit_members = true
irb(main):003> project.save

Actions

Also available in: Atom PDF