Small fixes for frostfsid, policy contracts #55
No reviewers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-services-developers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#55
Loading…
Reference in a new issue
No description provided.
Delete branch "fyrchik/frostfs-contract:frostfsid-admin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #54.
frostfsid-adminto Small fixes for frostfsid, policy contracts362bb968fb
to3c38acea63
Can we also fix typo
Should be
ErrNotAuthorized
I suppose.@ -2,1 +2,3 @@
safemethods: ["version"]
safemethods:
- "version"
- "getAdmin"
Maybe we can add here all read-only methods so the generated client wrapper can handle this method properly (I meand for example for
GetSubject
method wrapper will return[]stackitem.Item
then, now this method looks like write one)fixed
3c38acea63
to00122e8372
00122e8372
to70746d1a1e
@ -27,2 +26,3 @@
// ErrNotAuthorized is returned when the none of the transaction signers
// belongs to the list of autorized keys.
ErrNotAutorized = "none of the signers is not autorized to change the contract"
ErrNotAuthorized = "none of the signers is autorized to change the contract"
ErrNotAuthorized = "none of the signers is autorized to change the contract"
vs
ErrNotAuthorized = "none of the signers is authorized to change the contract"
(typo in text also)Fixed
I'm not sure
8d7d2de4a4/policy/policy_contract.go (L28)
🙈forgot to push, fixed now
8d7d2de4a4
toa1b61d3949