Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
role_lock.rb 2.78 KB

Latest revisions

# Date Author Comment
324bafdb 09/30/2020 07:54 AM Eric Helms

Fixes #30932: Rescue from RecordInvalid for plugin role creation (#8032)

The exception can be raised two if Rails environments start in parallel (two requests, one request and a rake task) and permissions are not yet populated. Then the race condition can occur, as two different requests are trying to create the same role. This is another exception that was observed during this race condition, so we need to rescue from it too.

5eabb004 01/19/2020 07:26 PM Eric Helms

Fixes #28767: Drop extra transaction from plugin Role creation

a426bffe 08/08/2019 09:33 AM Ondřej Pražák

Fixes #27380 - Handle non-unique role on creation (#6939)

90ccf205 07/17/2018 11:13 AM Marek Hulán

Fixes #19983 - allow setting role description

3cd8c84b 04/11/2018 07:21 AM Michael Moll

Fixes #19787 - Fix Layout/SpaceAfterComma cop

b03dcd1b 04/05/2018 11:56 AM Michael Moll

Fixes #23081 - Fix Style/SafeNavigation cop

cf8bc039 08/25/2017 09:35 AM Ondřej Pražák

Fixes #19039 - Lock plugin roles

40fffe69 04/24/2017 12:37 PM Dominic Cleal

fixes #19317, #10927 - move registries to autoload_once path

Partially reverts 70ce8fe to reinstate autoload_once_paths as the
preferred way to load registry-type objects with class variables
containing data set up during app initialisation (e.g. plugin
registrations, menu items.)...

40dd32b0 03/27/2017 01:08 PM Marek Hulán

Refs #18001 - Avoid role extending from rake tasks permission

72a28408 03/24/2017 11:02 AM Ondřej Pražák

Fixes #18001 - Add plugin permissions to core's roles

View revisions

Also available in: Atom