Skip to content

Commit

Permalink
0.50
Browse files Browse the repository at this point in the history
  • Loading branch information
wbouvy committed Jun 18, 2020
1 parent 8387f2f commit 05a1cb6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog Hiber API

### 0.50 (2020-06-18)

#### Changes

##### ModemService

- Fixed a bug when listing child organizations that could cause incomplete data.

##### TokenService

- Removed `override_allow_no_permissions` from `CreateTokenRequest` and `UpdateTokenOrganizationPermissionsRequest`.
The API would check whether a token was created with or updated to an empty set of organization permissions.
This was confusing to users, and since permissions can easily be updated, we opted to remove it.

##### EmailNotificationPreferencesService

- Fixed a bug where a user without the `PUBLISHERS` permission would not be able to update their email preferences.

### 0.49.1 (2020-06-04)

#### Changes
Expand Down
2 changes: 1 addition & 1 deletion permission.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ enum OrganizationPermission {
/* Approve or create new users, remove users from the organization. Includes users permission. */
USERS_MANAGE = 31;

/* Manage publishers. */
/* Manage publishers: webhooks, MQTT integration, AWS IoT integration and custom email publishers. */
PUBLISHERS = 35;
/* Manage tokens. */
TOKENS = 36;
Expand Down
6 changes: 2 additions & 4 deletions token.proto
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ message CreateTokenRequest {
Filter.UserPermissions user_permissions = 5;
Filter.OrganizationPermissions organization_permissions = 6;

/* The server returns an error when you don't specify organization permissions. Set this to true to allow it. */
bool override_allow_no_permissions = 7;
reserved 7;
}

message DeleteTokenRequest {
Expand All @@ -85,8 +84,7 @@ message UpdateTokenOrganizationPermissionsRequest {
/* The previous permissions are replaced! */
Filter.OrganizationPermissions new_organization_permissions = 3;

/* The server returns an error when you don't specify organization permissions. Set this to true to allow it. */
bool override_allow_no_permissions = 4;
reserved 4;
}

message UpdateTokenUserPermissionsRequest {
Expand Down

0 comments on commit 05a1cb6

Please sign in to comment.