Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

chore: return request_methods even without a permission #441

Merged
merged 6 commits into from
Jun 24, 2024
Merged

Conversation

im-adithya
Copy link
Member

Fixes getAlby/hub#188 by only returning request_methods if there's no get_info permission

Screenshot

(First result with empty fields is without get_info permission and the second is with permission)

Screenshot 2024-06-13 at 4 42 04 PM

handle_info_request.go Outdated Show resolved Hide resolved
handle_info_request.go Outdated Show resolved Hide resolved
@rolznz
Copy link
Collaborator

rolznz commented Jun 15, 2024

Re: crypto.subtle we want to deal with it later as we have to re-think how the key is passed between frontend and backend

@im-adithya did you post this in the wrong PR?

@im-adithya
Copy link
Member Author

Ah damn! I was wondering I typed it but couldn't find in the actual PR 🤦

@rolznz
Copy link
Collaborator

rolznz commented Jun 22, 2024

@im-adithya can you update this PR?

@im-adithya
Copy link
Member Author

Done!

Copy link
Collaborator

@rolznz rolznz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK, thanks @im-adithya !

@rolznz rolznz merged commit 8ec14bb into master Jun 24, 2024
6 checks passed
@rolznz rolznz deleted the task-get-info branch June 24, 2024 08:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Returning list of supported methods should not require info permission
2 participants