For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /guides/access-control.md.

Access Control Strategy

This document explains the recommended access control approach for RPs onboarding to Edupass:

  1. It clarifies why current MIMS practices (attribute-based access) lead to issues,
  2. What will no longer be supported in Edupass and
  3. RECOMMENDED RP implementation and guidance (Strongly recommend to prevent future issues).

Background

Within MIMS and Edupass’s context, RPs are currently expected to perform access control using one of the following two approaches:

  • (Direct) Attribute-Based Access Control (ABAC)
    • RPs derive the level of access that users should have directly from the users' attributes.
      • Cannot handle exceptions
      • Breaks for multi-location users
      • Leads to attribute manipulation (if exceptions are required)
  • Role-Based Access Control (RBAC)
    • RPs define app roles within Edupass.
    • These app roles are assigned to users either via a birthright rule on their attributes (indirect ABAC), or manually.
    • The app roles that a user has are communicated to RPs, which RPs then use to determine the level of access they should have.
      • Allows for flexibility
Info

Making access control decisions based off user attributes is possible in both approaches:

  1. In direct ABAC, Edupass is not involved, nor is it aware, of the access control taking place.
  2. In RBAC, RPs define birthright rules on Edupass based on user attributes. For example, a possible birthright rule is “assign all users who report to the HR department the 'payroll viewer' app role”.

The key difference between the two approaches is that the former does not allow for exceptions, while the latter does. For example, if a user who does not report to the HR department requires the ‘payroll viewer’ app role, they can be manually assigned the app role in an RBAC paradigm. In a direct ABAC paradigm however, the attribute-based rules controlling access need to be tweaked.

In other words, RBAC with birthright rules adds a layer of indirection that allows exceptions to be made to attributes-based (birthright) rules when granting access.

Issue: Forcibly Modifying User Attributes to Grant Access

A key issue faced in MIMS is that when RPs encounter users which should have access, but are denied due to their direct ABAC rules, their current solution of choice is to forcibly modify the user attributes in MIMS. This manifests as the following two symptoms:

  1. Users whose attributes deviate from upstream sources of truth.
  2. Users who have multiple accounts.

Symptom 1: Incorrect Attributes

In MIMS, certain attributes such as “location code” can be overwritten by the user’s LA, while other attributes such as “user type” can be modified via a manual data patch carried out by NEC, the MIMS vendor.

This is problematic as:

  1. From a security perspective, the ability to forcibly modify user attributes calls the legitimacy of all access control decisions being made based on user attributes into question.
  2. While forcibly modifying user attributes might result in the user being granted the access that they need, it can also simultaneously result in them losing access that they already have, due to them no longer fulfilling the attribute-based conditions of existing access. This inevitably leads to symptom 2, the creation of multiple accounts.
  3. RPs no longer trust the user attributes that MIMS is providing them and have to perform their own validation.

Symptom 2: Multiple Accounts

When attributes are unable to be modified, additional accounts are created to satisfy access needs.

On top of the problems listed in symptom 1 above, this symptom has the following issues:

  1. These additional accounts are not systematically linked to the user’s original account and are not governed by the same joiner-mover-leaver lifecycles. This has potential security implications when access is not revoked in a timely manner.
  2. Users need to juggle multiple accounts, each with a different set of credentials and different access.

Edupass Design Principles

What will not be supported in Edupass moving forward

In line with the single identity per user model, Edupass will not allow the modification of user attributes and will not support the creation of additional OTH accounts (MIMS terminology commonly used to refer to additional accounts) for the same user, for the purpose of fulfilling RPs' attribute-based access control rules.

Access will be determined using application roles; assigned to users via birthright or manually.
In order to determine if RPs require RBAC implementation, RP can refer to the chart below.

Direct ABAC and RBAC engagement with RPs

Access Control Case Studies

RP RequirementRecommended ModelExample
Location-specific access (e.g. RP uses location codes and access varies per school/location.)Location-based app roles (see also Multi-Location Design)RP shows different data depending on user’s location. User is assigned roles according to their required access.
1730_APP_admin
3001_APP_admin
Only school vs HQ needed to determine who gets access to the HQ workflowsGlobal rolesRP has two different views: HQ dashboard and school interface. User is assigned roles according to their required access.
X_APP_hqadmin
X_APP_schooladmin
Exceptions requiredRBAC requiredUser’s reporting location differs from their access required: e.g. is HQ but needs school access or works across multiple schools, roles are manually assigned to user to provision access.
1730_APP_user
3001_APP_user
6610_APP_admin
No exceptions at allDirect ABAC acceptable

Annex

Should ABAC Be Disallowed/Discouraged?

No, the issue is not in the use of ABAC, but the practice of modifying the input (forcibly modifying user attributes) to fit the expected output (expected access).

Should Direct ABAC Be Disallowed/Discouraged?

The ideal situation would be that every RP makes use of RBAC with birthright rules instead of direct ABAC. This represents a substantial shift from how most RPs have been handling access control in MIMS. Given delivery constraints, this is a call for product to make when assessing the change management effort as a whole.

If the ABAC rules in direct ABAC capture 100% of all users, i.e., no exceptions are ever needed, then there is no issue in using direct ABAC.

Risk of Not Forcing RPs to Convert Direct ABAC to RBAC During Onboarding

Based on the team’s latest discussions, the current thinking is that RPs can be made to move from direct ABAC to RBAC as the need arises. This greatly reduces the amount of change management required at the time of onboarding.

With respect to the flow chart above, there is a risk that RPs answer the question of “Will there ever be users who do not have the necessary attributes, yet require access?” wrongly. In such cases, the RPs will find out once such a situation occurs when the user writes in to them or to Edupass as unlike MIMS, Edupass’s design does not allow for user attributes to be forcibly modified, or additional accounts to be created. Depending on how long it takes the RP to either (1) tweak their ABAC rules or (2) move towards RBAC, the user will not be able to perform whatever actions they need to perform in the RP.

Note

A possible implication of this risk is that multi-location users end up being underserved by RPs despite Edupass evolving the RBAC from MIMS to be multi-location. For example, an RP might decide to read the schoolOrHq user attribute and completely disregard all app roles. This would result in a hypothetical ECG counsellor who reports to the HQ guidance branch not being able to access functionality in an RP that is meant only for school staff.