Atlas-Assistance-Dogs / atlas-dogs

Repository for Atlas Dogs flows in Salesforce
1 stars 1 forks source link

Group access #488

Closed deb761 closed 1 year ago

deb761 commented 1 year ago

Critical Changes

Changes

  1. Added groups to control file access
  2. Added logic to FileService to check groups for related files
  3. Added logic to CategoryRuleController to check groups for category access

Issues Closed

atlasjen commented 1 year ago

Here is what i did so far to test

then,

image

atlasjen commented 1 year ago

tested out adding users to other permission sets also fails. i can only add them to the permission set i am in (atlas super user)

atlasjen commented 1 year ago

when i look at the permission sets, i see "Atlas Volunteer" image

-reran sfdx force:user:permset:assign -n AtlasVolunteer -o testuser@atlasdog.org that was successful

I know you are still working on filtering the file views. I think ideally we would also hide any PII (email, phone, address) for anyone who didn't have volunteer as a position. I'm going to commit this but to do