-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable voting for other permissions than @active #5
Comments
After checking the smart contract, I'm actually not sure on what level the active permission is enforced. Can you check the front-end? |
This is the whole transaction to vote: Currently the permission is hardcoded to |
The usual way is to use whatever permission the user is currently using to log into the dApp Something like the following:
Can we use any permission on the contract? @kaefergeneral |
Yes, the contract just checks authorizations. So as long as the permission is not limited, it can be used. The contract is not enforcing an active permission. |
Inside that transaction the users permission is already known and can be accessed the above mentioned way --> |
I changed the hardcoded permissions to use the one from the activeUser; but the PR was being weird. I should look into how I can cherry pick commits :D but when I look at what it wants to do, it just shows the 2 changed files, so it seems GH is just being a bit weird 😅 |
Currently signing a vote is limited to @Active permission.
We need to change that urgently before jan, 16th
The text was updated successfully, but these errors were encountered: