780b48cedf
[ #136 ] container: Add SetAdmin
...
SetAdmin will allow to manage the root domain of the container.
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-12-12 13:19:34 +03:00
891e268170
[ #138 ] frostfs: Remove AlphabetUpdate event from the configuration
...
It does not exist in code.
Refs #7 .
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-11 14:36:55 +03:00
762d7f9f9f
[ #134 ] container: Use Hash256 for container ID in Delete()
...
This is what we use inside Put(). It leads to a better auto-generated
code.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-05 11:38:07 +03:00
fe7a767e8f
[ #131 ] nns: Declare getAllRecords() as safe
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-11-21 10:23:31 +03:00
ffd2763094
[ #119 ] frostfsid: Add 'getSubjectKV'
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-11-02 11:24:10 +03:00
8b7f44adef
[ #114 ] nns: Add 'DeleteRecord'
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-09-27 17:50:26 +03:00
3e221b973a
[ #113 ] Regenerate wrappers
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-09-09 10:27:09 +03:00
82641e2e99
[ #109 ] nns: Add notification sending
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-09-09 06:24:55 +00:00
cee957e85a
[ #105 ] policy: Add ListChainNames method
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-08-27 12:03:05 +03:00
0befe361fe
[ #104 ] rpcclient: Regenerate wrappers
...
Introduced in #102 .
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-08-19 18:08:51 +03:00
b2eb585bb6
[ #102 ] nns: Support global domain
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-08-16 16:37:17 +03:00
2574b2840e
[ #84 ] rpcclient: Regenerate interface for Policy
...
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-04-04 10:26:28 +03:00
c9c53bb9ec
[ #17 ] frostfs: Remove method alphabetAddress
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-03-05 12:59:03 +03:00
d9f523ee07
[ #78 ] policy: Introduce ListTargets method for Policy contract
...
* Introduce a new method ListTargets that lists targets by kind.
* Slightly fix key mapping - also concatenate kind to prefix.
* Write unit-tests.
* Regenerate rpcclient.
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-02-20 11:57:34 +03:00
55a4163951
[ #76 ] frostfsid: Add GetGroupByName method
...
Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
2024-02-01 16:06:17 +03:00
93781f1149
[ #66 ] policy: Support IteratorChainsByPrefix method
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-01-26 17:41:04 +03:00
a7c45fdd0d
[ #68 ] policy: Add Version() method
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-11 15:39:19 +03:00
5363aaf16a
[ #68 ] rpcclient: Regenerate wrappers after neo-go update
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-11 15:39:19 +03:00
23e85d11c4
[ #53 ] proxy: Allow using proxy by trusted accounts
...
It was reverted because `Verify` with arguments was not well supported
by the client software. Thanks to recent `System.Runtime.CurrentSigners`
call from neo-go v0.104.0 we can take the best of both worlds.
Verify with argument still looks better (less overhead), but this
implementation should work too. Sadly, `overloads` are not of much use
here because verification routines take the _first_ method from the
manifest, albeit with arbitrary number of arguments.
This reverts commit a0b73150c6
with some
changes on-top.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-12-15 14:34:26 +03:00
897f538a3c
[ #48 ] frostfsid: add GetSubjectByName method
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-12-11 09:36:47 +00:00
3fb511ac15
[ #48 ] frostfsid: Support empty namespaces
...
Require ns to create subject.
Since we don't allow move subject from one ns to another -
drop add/remove subject to/from namespace
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-12-11 09:36:47 +00:00
a0b73150c6
Revert "[ #53 ] proxy: Allow using proxy by trusted accounts"
...
This reverts commit bc3186575f
.
2023-12-08 11:10:00 +03:00
bc3186575f
[ #53 ] proxy: Allow using proxy by trusted accounts
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-12-07 10:22:47 +03:00
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
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-11-17 14:36:48 +03:00
e2e406932f
[ #48 ] frostfsid: Support Group updating
...
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
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-07 16:20:43 +03:00
9ed3845aa9
[ #44 ] policy: Initial implementation
...
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