Code Monkey home page Code Monkey logo

Comments (4)

deepu9 avatar deepu9 commented on July 18, 2024 1

Thanks @davidhsianturi for the information.

This is how I see when I say Roles and Permissions:

  1. Identify the actors
  2. Identify the actions
  3. Formulate the relationship between actors and their actions.

Actors
Actors are users/people in a business requirement. Following are some of the actors:

  • Doctors
  • Patients
  • Admin
  • Staff

Anyone, if you think of any, please add to the above list.

Actions
Whatever the actors do in a business requirement. Actions like, have the ability to see patients records, have the ability to register a patient or doctor, have the ability to access everything and soon.

Give me some time to prepare the list of actions.

Meanwhile if anyone has anything to start with, please add them.

from skeleton.

davidhsianturi avatar davidhsianturi commented on July 18, 2024

Hey, @deepu9 yes of course. to be able to determine the 'role and permissions' of users in this application, we must first understand the system currently running at the hospital.

from what I know, here's what we can implement.

  • Owner: owner of the app (handle all group).
  • Administrator: same as an owner just can not invite the user (admin group, staff in group, etc)
  • Admin group: admin in each hospital/clinic
  • Staff: staff at each hospital/clinic (to validate outpatient while visiting hospital/clinic)
  • Doctors: doctors in each hospital/clinic.

Of all these roles, only doctors can have access to view a patient's medical history.

I think this is very simple and meet the needs. however, if there are some other ideas, please feel free to provide the feedback.

from skeleton.

davidhsianturi avatar davidhsianturi commented on July 18, 2024

Hey, @deepu9 yes, that's a very true basic approach. anyway, 'roles & permissions' must be included in the documentation. we use gitbook for write documentation, this weekend I will be working on the basic doc. can I invite you to collaborate?

from skeleton.

deepu9 avatar deepu9 commented on July 18, 2024

Sure I'm more than happy to collaborate in writing the docs.

from skeleton.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.