uprm-inso4101-2024-2025-s1 / semester-project-regiupr

semester-project-regiupr created by GitHub Classroom
7 stars 1 forks source link

Define Privileges for Roles: Admin and Student #121

Open Yamil-Serrano opened 4 days ago

Yamil-Serrano commented 4 days ago

Objective: Create a visual mapping that defines the privileges for the Admin and Student roles in the Role-Based Access Control (RBAC) system using a graph-based representation.

Description: This task involves creating a clear, visual mapping for the Admin and Student roles in the RBAC system to define their respective access rights. The Admin role will have full access to manage student accounts and schedules, while the Student role will have limited access to course enrollment and personal profile management. The mapping will be created using a diagram (similar to the provided example in Mermaid format) to easily visualize and implement the role privileges.

Roles and Privileges Mapping:

Admin:

Student:

Features: Privileges Mapping Definition: Create a graph-based mapping that defines the Admin and Student roles and their respective permissions.

Requirements: Graph-Based Mapping: Create a visual mapping using a graph format (as in the provided Mermaid example) that shows the privileges for Admin and Student roles.

Time Constraints: Complete the visual mapping and implementation by Monday, Oct. 21.

Completion Criteria: A graph-based privileges mapping is created and implemented for Admin and Student roles.

Difficulty: 4 (Requires creating and enforcing a visual role mapping).

Priority: 8 (Important for system security and user role management).

Yamil-Serrano commented 3 days ago

I have made a diagram of some privileges of the Student and Admin roles @Ar2691 @RayMuvz @JRRR0912. Please tell me if you think I should add or remove privileges. I attach the link to the diagram editor and the reference image: Screenshot 2024-10-19 200948

JRRR0912 commented 3 days ago

Hello @Yamil-Serrano,

The diagram looks just fine. I believe the roles are clear with their privileges. I will only make note of a small typing mistake in the Student section. One of the privileges says "Enroll in Aviable Courses". Other than that, I believe it is all good. Although, I may suggest a rewrite in the third point in the Admin section.

"Enroll students in courses that are not in their curriculum and may bypass course size via overfill"

This to avoid a bit of redundancy and to add the overfill (sobrecupo) feature.

Yamil-Serrano commented 3 days ago

Thanks for the recommendation @JRRR0912, I already fixed the type and redundancy in the admin role. image

Yamil-Serrano commented 2 days ago

@Ar2691 @RayMuvz tell me if you think I should add or remove privileges, if you think it is enough then we can proceed with the procedure of closing the task.