プロジェクト

全般

プロフィール

Vote #78966

完了

Increase maximum size for role name

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
高め
担当者:
-
カテゴリ:
Permissions and roles_17
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
17
version_id:
127
issue_org_id:
27625
author_id:
5107
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

It is limited in model of Role, at line 84

  validates_length_of :name, :maximum => 30

Attached is a patch, increasing it to 255, however I wouldn't limit it at all.

Also migration is added here.


journals

Updated migration, since rails didn't put any content into it...
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed, thanks.
--------------------------------------------------------------------------------

Admin Redmine さんが4年以上前に更新

  • カテゴリPermissions and roles_17 にセット
  • 対象バージョン4.1.0_127 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0