We have to create a better way to manage permission. By permissions I mean which profile is allowed to create/update/delete/complete/reject tasks or create/add/remove members/tasks in organizations.
We have to create a pallet through which we can manage all these permissions.
You can use this pallet as inspiration:
https://github.com/dappforce/subsocial-solochain/blob/master/pallets/permissions/src/default_permissions.rs
https://github.com/dappforce/subsocial-solochain/blob/master/pallets/permissions/src/lib.rs
We have to create a better way to manage permission. By permissions I mean which profile is allowed to create/update/delete/complete/reject tasks or create/add/remove members/tasks in organizations.
We have to create a pallet through which we can manage all these permissions.
You can use this pallet as inspiration:
https://github.com/dappforce/subsocial-solochain/blob/master/pallets/permissions/src/default_permissions.rs
https://github.com/dappforce/subsocial-solochain/blob/master/pallets/permissions/src/lib.rs