HS256
and RS256
. When selecting RS256 the token will be signed with the tenant’s private key. To learn more about signing algorithms, see Signing Algorithms.read:timesheets
, create:timesheets
, delete:timesheets
, and approve:timesheets
.
Timesheets SPA
) and select Single-Page Web App
as the type.
Click Create.
That’s it for now. When we are done with the SPA implementation we will revisit the dashboard and this Application’s settings to make some changes in its configuration.
read:timesheets
, create:timesheets
, delete:timesheets
, and approve:timesheets
.
In the Authorization Extension, click the Permissions tab, and then click on the Create Permission button.
In the dialog, capture the details for each permission.
Ensure that the name of the permission is exactly the same as the corresponding scope:
Employee
, and select the delete:timesheets
, create:timesheets
and read:timesheets
permissions. Click on Save.
Next, follow the same process to create a Manager
role, and ensure that you have selected all the permissions.
Manager
or the Employee
role.
You can do this by going to the Users tab in the Authorization Extension and selecting a user.
On the user information screen, go to the Roles tab. Click Add Role to User, and select the appropriate role.
action:area
or delete:timesheets
) which are valid according to a user’s permissions. Once you are done you can click on the Save button.
Rules execute in the order they are displayed on the Rules page, so ensure that the new rule you created is positioned below the rule for the Authorization Extension, so it executes after the Authorization Extension rule.