-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
add perimission checks to object #14582
base: 09-04-add_permission_check_to_account
Are you sure you want to change the base?
add perimission checks to object #14582
Conversation
⏱️ 1h 39m total CI duration on this PR
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
da28781
to
006ad4c
Compare
381be20
to
6a1fe6d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 09-04-add_permission_check_to_account #14582 +/- ##
======================================================================
Coverage 59.4% 59.4%
======================================================================
Files 857 857
Lines 210762 210762
======================================================================
Hits 125197 125197
Misses 85565 85565 ☔ View full report in Codecov by Sentry. |
006ad4c
to
ef7abd3
Compare
6a1fe6d
to
9037ce3
Compare
ef7abd3
to
c38c2dd
Compare
9037ce3
to
843150a
Compare
c38c2dd
to
95b6704
Compare
843150a
to
33a73d7
Compare
95b6704
to
7394967
Compare
33a73d7
to
9123ceb
Compare
7394967
to
a091794
Compare
9123ceb
to
206e782
Compare
a091794
to
67163ae
Compare
206e782
to
9c81c83
Compare
67163ae
to
f10a3b3
Compare
9c81c83
to
75362c4
Compare
f10a3b3
to
5c9396f
Compare
75362c4
to
86c07b1
Compare
5c9396f
to
9935539
Compare
86c07b1
to
0573a7b
Compare
9935539
to
b927c02
Compare
0573a7b
to
6a446be
Compare
47e6977
to
8c769d8
Compare
232210d
to
418f0a3
Compare
8c769d8
to
4a6a3b8
Compare
418f0a3
to
107c66f
Compare
4a6a3b8
to
dd5f835
Compare
107c66f
to
052a15c
Compare
dd5f835
to
79d54d6
Compare
052a15c
to
31f1473
Compare
79d54d6
to
27f0fc8
Compare
31f1473
to
3853273
Compare
27f0fc8
to
23fff63
Compare
3853273
to
b3898d7
Compare
23fff63
to
f9a83e7
Compare
b3898d7
to
ead6327
Compare
f9a83e7
to
07cad53
Compare
ead6327
to
7f150e2
Compare
07cad53
to
ec2c261
Compare
7f150e2
to
12eac30
Compare
ec2c261
to
6bddfa8
Compare
12eac30
to
cd44e31
Compare
6bddfa8
to
7754575
Compare
cd44e31
to
1892e08
Compare
7754575
to
2bd6008
Compare
1892e08
to
930dbda
Compare
2bd6008
to
1c1bb56
Compare
930dbda
to
4afdbd5
Compare
struct TokenUpdatePermission has copy, drop, store { | ||
token_address: address, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whether we want it here or not, from expressiviness of permissions model, we should think of how would it be implemented to have either a global permission to update all tokens, or a specific permission to update a concrete object.
in that case would these be enums, we would be checking both against? or something else more concrete with permissioned_signer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
second I don't think this is the file you want to be adding permissions to - this is an example implementation of tokens on aptos.
aptos-move/framework/aptos-token-objects/sources/token.move and collection.move are the right places
1c1bb56
to
efd81cc
Compare
4afdbd5
to
fab2669
Compare
Description
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
Key Areas to Review
Checklist