isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

Revert "chore(e2e): change naming for clarity (#857)" #864

Closed kishore03109 closed 1 year ago

kishore03109 commented 1 year ago

This reverts commit 119476a9a88cbcaa70532560e5bbbc5c40718185.

Problem

I shot myself in the foot here @.@

The pain point I was trying to alleviate here was that setEmailSessionDefaults in the fe forces collab@e2e.gov.sg to be a contributor role, and my (wrong) assumption was that we were trying to maintain that invariant, so I thought it would be better to name it as such for clarity. After talking with chin, realised that we intend to make this collab also have the admin role if needed (or at least the intention behind this design is), which makes the changes introduced in #857 confusing as I can now have a contributor who has admin rights.

Solution

Revert changes. Tbh, it doesnt really solve the pain point I intended to solve, but I have a separate PR for this coming up!