Open pcambra opened 3 years ago
Land with types (Range > Sector > Beat?) and Sectors contain CFRs.
This relates to geospacial permissions https://github.com/Cambrico/farm_nfa/issues/28, how should we implement the permissions at that level, do we have a "derivative" per land entity? Do we have special fields on the Land type to manage permissions?
https://github.com/Cambrico/farm_nfa/issues/184 is part of this too
For now - just focusing on Natural Forests (plantations to come):
For creating an allocated task (optionally as part of plans) for approval - the work flow should be able to start at any level Sector Manager -> Range Manager -> Coordinator Natural Forests -> Director Natural Forests Officer Natural Forests -> Coordinator -> Director Natural Forests
For creating a budget for an allocated task (optionally as part of plans) for approval - the work flow should be able to start at any level Sector Manager -> Range Manager -> Coordinator Natural Forests -> Director Natural Forests Officer Natural Forests -> Coordinator -> Director Natural Forests
For reporting on the stage of completion of the implementation of an allocated task Forest Supervisor (optional) -> Sector Manager -> Range Manager -> Coordinator Natural Forests
For the submission of reports Sector Manager -> Range Manager -> Coordinator Natural Forests Officer Natural Forests -> Coordinator -> Director Natural Forests
Two workflows, one for plantations and one for natural forests. (Plan level)
Every log type created on a plan have a workflow.
@LeScruf the information we need is the following:
For Natural plans.
This should be seen as a 'pilot' initiative - focus on the management log / task e.g. https://forests.nfa.go.ug/plan/1/management
Because the management log has many activity types, this allows a workflow to support many management activities in a standard manner.
To simplify things, two workflow types can cover the majority of management activities
To explain the diagrams below:
and
The work flow suggests that the follow fields in the management log form should be shifted to the top of the form and stand out clearly in the management log view list:
So these changes - if they make sense - would need to be created as separate issues.
@LeScruf could you please clarify these items for me?
@pcambra - here we go:
@LeScruf
I think a drop down selection? Would that work? So either workflow can be used for any log, but of course not simultaneously? But there could be multiple instances of both workflows for the same log type tho - each a separate instance but for a different activity.
@LeScruf I need to do some research on whether we can have a dynamic workflow per task/log, we can definitely do it per type of task (activity, harvest, planting...)
Note: These are specific for natural forests.
Once you change a workflow, you can't change it, so this can be done on creation only.
Provisional candidate roles are:
Themes are: (we need to work out how to label / structure this, if it's straight-forward to do, otherwise ignore) CFM, inventory, natural forest management, plantations, land use / tree farmers, nurseries, survey, tourism
Job roles and users: Users should be assignable to any one of a pre-created list of job roles by the system admin: these assignments are transferable so that a user with specifc user details can be assigned to a specific organisational role, with them being able to be transferred and assigned a different organisational role (function, range) at any time. Users should therefore be identified by their organisational title / role on the system, which will change from time to time. Thus any log should be assigned to or reported by a user role, not by a personal user identity.
Cascading permissions - 2 can lock 3's edit rights who can lock 4's edit rights on any editable datum, as part of a work flow.
As part of this we should have a global log for all log ons/offs and all edits / creations / deletions to content.