Added capability to merge organisations
- Added an interface for organisation - Added beforeDelete and beforeMerge callbacks - Added hard/soft delete to organisations
This commit is contained in:
1 parent
b6edcf03e8
commit
28255e315a
11 files changed
+536
-2
No files matched your search
@@ -61,6 +61,12 @@ class OrganisationPermissions extends BaseSeed
|
||||
'conditions' => 'always()',
|
||||
'description' => 'Edit basic properties of any organisation.',
|
||||
]),
|
||||
'merge_organisations' => new Permission([
|
||||
'slug' => 'merge_organisations',
|
||||
'name' => 'Merge two organisations',
|
||||
'conditions' => 'always()',
|
||||
'description' => 'Merge two organisations together, including all the members.',
|
||||
]),
|
||||
'delete_organisation' => new Permission([
|
||||
'slug' => 'delete_organisation',
|
||||
'name' => 'Delete organisation',
|
||||
|
||||
Reference in new issue
Block a user