Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Remove hasAccountGrantablePermissions in qry exec #1500

Merged
merged 2 commits into from
Jun 26, 2018

Conversation

l4l
Copy link
Contributor

@l4l l4l commented Jun 25, 2018

Description of the Change

For some reason Queries are checked against Grantable permissions (Grantable are only for commands). This pr removes redundant code (checking in execution, checking in EXPECT_CALL's, test for grantable perms) also permissions::permissionOf removal is there

Benefits

The lesser useless code the happier people are

Possible Drawbacks

None?

Signed-off-by: Kitsu <mail@kitsu.me>
@l4l l4l added needs-review pr awaits review from maintainers refactoring internal stuff, that are changed/removed that doesn't affect client code query All that relates to the iroha querying labels Jun 25, 2018
Signed-off-by: Kitsu <mail@kitsu.me>
@l4l l4l merged commit e7e3094 into develop Jun 26, 2018
@l4l l4l deleted the fix/remove_grantable_qry_check branch June 26, 2018 07:54
l4l added a commit that referenced this pull request Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-review pr awaits review from maintainers query All that relates to the iroha querying refactoring internal stuff, that are changed/removed that doesn't affect client code
Development

Successfully merging this pull request may close these issues.

None yet

3 participants