...
Multi-tenant Score design
Info |
---|
In this section, “Score” refers to multi-tenant Score instances (i.e., Score 2.5 and later). |
Phase 1 of Multi-tenant Score will use the current built-in capability for authentication, and for authorization of Score roles. Accedia will develop further authorization functionality based on a user’s tenancy.
Score 2.5 and later will be released with:
Context A context category : named
Tenant
Context A context scheme : named
Tenant
(based on the context categoryTenant
)
No user (not even Dev/Admin) may delete or rename the
Tenant
context scheme (Accedia will need to implement restrictions.)No user (not even Dev/Admin) may delete or rename the
Tenant
context category. (Accedia will need to implement restrictions.)Only Dev/Admin may manage values in the
Tenant
category scheme. (Accedia will need to implement restrictions.)Dev/Admin may manage all business contexts, whether or not the user is associated with any tenant. (This is supported today, but Accedia will need to ensure that other feature implementations restrictions it implements do not inadvertently restrict this.)
Only Dev/Admin may add or delete a
Tenant
context scheme value to a BC that has BIEs associated with it. (Accedia will need to implement restrictions.)Why? This should prevent two undesirable situations (just FYI):
a user assigning a
Tenant
context scheme value to a BC that does not have one assigned, thereby restricting access to that BIEa user assigning another
Tenant
context scheme value to a BC that already has aTenant
context scheme value associated with it, thus potentially unintentionally enabling access to many users
When creating a BC, users may only use
Tenant
context scheme values matching the user's tenancy. (Accedia will need to implement restrictions.)Only a user with the appropriate tenancy may manage a business context containing a
Tenant
context scheme value. (Accedia will need to implement restrictions.)Users may be associated with zero or more tenants where the possible tenants are those specified as valid values for the
Tenant
category context scheme. (Accedia will need to develop new functionality, including database changes/additions that store data about the associations.)A user may only access BIEs:
associated with at least one business contexts that has as least one
Tenant
context scheme value matching the user’s tenancy.associated with business contexts that do not include a
Tenant
context scheme value.
Another way to think about #11 is that if any context associated with a BIE has a Tenant
context scheme value, then access to that BIE is determined by the user’s tenancy (except for Dev/Admin). Otherwise anyone can access the BIE.
Logical process for determining what BIEs to show in a BIE list
...