Releases: TINYhr/tiny-gate
Releases · TINYhr/tiny-gate
Upgrade dry-struct to 0.5
BREAKING CHANGES
- Upgrade
dry-structto version0.5.0, drop support for version0.4.0
and lower TinyGate::TestHelper::User#add_permissionmust be called before requesting to serverTinyGate::TestHelper::User#current_permissionis first permission of signed in organizationUserClient.add_userreturns new user’s token instead of the whole user
Support current_permission in dummy server
Merge pull request #10 from TINYhr/add-current-permission Adds current permission to current user for test helpers
Support callback token
Merge pull request #9 from TINYhr/INT-881_add_custom_token INT-881 use callback token instead
[ax] Remove debug log and support more fields in test server
0.5.8 Merge pull request #7 from TINYhr/remove-debug-code-and-add-more-fiel…
[ax] Refactor dummy server structure
- Also support role names when creating dummy role
[f] Allow assume via `admin_id` attribute
0.5.5 [f] Support assume function via `admin_id`
[ax] Use mock server instead of VCR
- It’s hard for people to create real server request with VCR
- VCR is a big dependencies which is not really needed
[b] Send app_id in the body instead of fetching from the token
Context
Previously, we saved app_id in the session token so that it can be fetched easily. However, with multiple applications, the active_permissions are fetched incorrectly.
Change
Send app_id in the body when validate/check signed in status/fetch user so that we can get correct active_permissions
Add current permission information in user
Merge pull request #2 from TINYhr/feature/add-current-org-id-to-user - add current_organization_id to User
[f] Add switch organization ability
Merge pull request #1 from TINYhr/feature/tps-dashboard-switch-org Feature/tps dashboard switch org