project-lux / lux-marklogic

Code, issues, and resources related to LUX MarkLogic
Other
3 stars 2 forks source link

Remove the base-reader and base-endpoint-consumer roles #227

Closed brent-hartwig closed 4 weeks ago

brent-hartwig commented 1 month ago

This ticket changes a part of #73 that was introduced in the same release, release1.21.

The base-reader and base-endpoint-consumer roles create unnecessary risk when removing a tenant. There may be no fallout from deleting base-reader; however, if the base-endpoint-consumer role was deleted, all endpoint consumers within the environment would no longer be able to consume endpoints.

The permissions and roles granted to the base roles are to be transferred to each tenant's reader and endpoint consumer roles.

So long as the base roles are not deleted before the tenant's roles are updated, no immediate action will be required.

The base roles may be deleted from an environment once the roles of all tenants in the environment have been updated. There is no harm in leaving the base roles.

No user or service accounts need to be updated.

Document permissions will not be impacted (i.e., no documents should have directly received either of the base roles).

Scope of this ticket includes:

brent-hartwig commented 1 month ago

Implemented in PR https://github.com/project-lux/lux-marklogic/pull/229, which should get it into release1.21.

brent-hartwig commented 4 weeks ago

Closing. This one already reached PROD on 29 Jul 24.