Skip to content

Releases: TINYhr/tiny-gate

Upgrade dry-struct to 0.5

17 Jun 10:41
6424625

Choose a tag to compare

BREAKING CHANGES

  • Upgrade dry-struct to version 0.5.0, drop support for version 0.4.0
    and lower
  • TinyGate::TestHelper::User#add_permission must be called before requesting to server
  • TinyGate::TestHelper::User#current_permission is first permission of signed in organization
  • UserClient.add_user returns new user’s token instead of the whole user

Support current_permission in dummy server

02 Mar 09:26
7f44b3d

Choose a tag to compare

Merge pull request #10 from TINYhr/add-current-permission

Adds current permission to current user for test helpers

Support callback token

15 Aug 07:39

Choose a tag to compare

Pre-release
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

21 Jul 11:31

Choose a tag to compare

0.5.8

Merge pull request #7 from TINYhr/remove-debug-code-and-add-more-fiel…

[ax] Refactor dummy server structure

11 Jul 04:09

Choose a tag to compare

Pre-release
  • Also support role names when creating dummy role

[f] Allow assume via `admin_id` attribute

01 Jun 08:45

Choose a tag to compare

0.5.5

[f] Support assume function via `admin_id`

[ax] Use mock server instead of VCR

24 May 00:02

Choose a tag to compare

Pre-release
  • 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

23 May 03:26

Choose a tag to compare

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

10 May 07:06

Choose a tag to compare

Merge pull request #2 from TINYhr/feature/add-current-org-id-to-user

- add current_organization_id to User

[f] Add switch organization ability

05 May 12:16

Choose a tag to compare

Pre-release
Merge pull request #1 from TINYhr/feature/tps-dashboard-switch-org

Feature/tps dashboard switch org