Updated the revised permission migration in the following way
When executing up(), existing permissions won't be duplicated. The new permission type table is created first so that permission levels can be migrated immediately
When executing down(), OrganizationUserAdmin becomes an OrganizationAdmin instead of Read
Revised default permissions when creating an organization
Pass application ids to limit application access for application admins
Changes:
up()
, existing permissions won't be duplicated. The new permission type table is created first so that permission levels can be migrated immediatelydown()
,OrganizationUserAdmin
becomes anOrganizationAdmin
instead ofRead
Related frontend PR