Illogical Permissions App Behaviors
Hello UNA Team,
There seems to be some illogic into how ‘Number of allowed actions’ are counted in UNA. Profiles created under the Account level aren’t being counted when it comes to permissions.
Here is the scenario:
In Studio > Settings > Accounts, I set the ‘Default profile type’ to: ‘Select one’
After creating an account, users are given the option to choose whether to create a Person or Organization’s profile.
Here are the some features for each plan:
Standard:
- 1 Person’s Profile
- 1 Organization's Profile
Premium:
- 1 Person’s Profile
- 2 Organization's Profile
In the Permissions App, I have the following settings:
Standard :
- Persons Module: Create Person’s Profile: Enabled. Number of allowed actions: 1
- Organizations Module: Create Organization's Profile: Enabled. Number of allowed actions: 1
Premium:
- Persons Module: Create Person’s Profile: Enabled. Number of allowed actions: 1
- Organizations Module: Create Organization's Profile: Enabled. Number of allowed actions: 2
This is what happens:
When a user creates an account, then chooses to create a Person’s Profile, he is automatically upgraded to the Standard level.
While in the Standard level, he is still able to create another Person’s Profile (the second one) even though the ‘Number of allowed actions’ in the ‘Create Person’s Profile’ permission for the Standard level is set to: 1. He ends up having: 2 person’s Profiles.
Why? Because the Permissions App doesn’t count the profile created under the Account level after signing up.
The same applies to the Organization’s Profile.
A workaround in order to fix this issue could be to disable the ‘Create Person’s Profile’ permission for both Standard and Premium. That will force the user to remain just with the profile created after creating the account.
But this workaround also comes with another problem: A user who chose to create an organization’s profile after creating an account will not be able to create a Person’s Profile anymore once in the standard or Premium level. Why? Because the ‘Create Person’s Profile’ permission will be disabled for both Standard and Premium levels.
So, my suggestion to fix this illogic is: UNA Permissions App should definitely include in the count the number actions made under the Account level.
The Account level isn't technically a membership. Therefore, it shouldn’t be treated as such under some circumstances.
Thanks