Commit graph

10 commits

Author SHA1 Message Date
f28d918727 [#55] frostfsid: Add missing safe methods
All of them can be called in read-only context.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-29 09:22:01 +03:00
edf3c26047 [#54] policy: Accept []byte as name
Strings cannot contain non-UTF8 bytes, this is ensured in JSON
marshaling/unmarshaling. At the same time using human-readable strings
can be rather restrictive, because we have 64-byte key limit.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-28 13:49:57 +03:00
43097d2152 [#55] frostfsid: Use single admin instead of many
Autorization can be dedicated to a separate contract, iterating over
multiple keys can be costly. Also add committee as "default" admin:
everything is allowed for it.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-28 13:49:56 +03:00
21bfe3ebf0 [#52] policy: Regenerate RPC wrapper
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-28 12:32:33 +03:00
5cc34f98e9 [#51] policy: Support Get and ListByPrefix methods
Some checks failed
DCO action / DCO (pull_request) Successful in 1m2s
Tests / Tests (1.19) (pull_request) Failing after 1m43s
Tests / Tests (1.20) (pull_request) Failing after 1m42s
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-11-17 14:36:48 +03:00
e2e406932f [#48] frostfsid: Support Group updating
All checks were successful
DCO action / DCO (pull_request) Successful in 1m24s
Tests / Tests (1.20) (pull_request) Successful in 2m6s
Tests / Tests (1.19) (pull_request) Successful in 3m14s
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-11-09 16:14:11 +03:00
c8b14d1376 [#48] frostfsid: Generate wrappers
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-11-08 15:39:21 +03:00
0ea65ca637 [#50] Drop audit and reputation contracts
All checks were successful
DCO action / DCO (pull_request) Successful in 1m7s
Tests / Tests (1.20) (pull_request) Successful in 1m11s
Tests / Tests (1.19) (pull_request) Successful in 1m17s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-07 16:20:43 +03:00
9ed3845aa9 [#44] policy: Initial implementation
All checks were successful
DCO action / DCO (pull_request) Successful in 1m7s
Tests / Tests (1.19) (pull_request) Successful in 1m21s
Tests / Tests (1.20) (pull_request) Successful in 1m18s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-02 09:54:36 +03:00
901d5a4083 [#47] Generate RPC bindings to contracts
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-10-31 10:28:38 +00:00