Commit graph

311 commits

Author SHA1 Message Date
Evgeniy Kulikov
952358af51
Bump mojor release 2020-05-26 12:36:55 +03:00
Leonard Lyubich
8f9391b995 Update changelog for v0.7.5 2020-05-15 15:55:11 +03:00
Leonard Lyubich
ff41459497
Merge pull request #14 from nspcc-dev/service-token-owner-key
service: add OwnerKey byte field to TokenInfo message
2020-05-15 15:50:20 +03:00
Leonard Lyubich
80e8ab014b service: add OwnerKey byte field to TokenInfo message 2020-05-15 15:29:15 +03:00
Leonard Lyubich
3bb1b0214f Update changelog for v0.7.4 2020-05-08 10:32:35 +03:00
Leonard Lyubich
7921b7d0a3
Merge pull request #13 from nspcc-dev/change-session-create
Change Session.Create RPC
2020-05-08 10:25:17 +03:00
Leonard Lyubich
cbd5605dc9 session: change Create rpc signature
This commit:

  * makes Create rpc call to be unary message;

  * changes CreateRequest structure;

  * changes CreateResponse structure.
2020-05-07 18:44:23 +03:00
Leonard Lyubich
ea9e39b3e0 service: put token lifetime in a separate message 2020-05-07 18:42:29 +03:00
Evgeniy Kulikov
228c8f8cbd
CHANGELOG 2020-04-28 16:25:36 +03:00
Evgeniy Kulikov
ea96f700d4
Merge pull request #12 from nspcc-dev/disable-stringer-method-for-CreationPoint
Disable stringer method for CreationPoint
2020-04-28 16:20:50 +03:00
Evgeniy Kulikov
2658db895c
proto: disable stringer method for CreationPoint 2020-04-28 16:16:52 +03:00
Evgeniy Kulikov
2913edbd42
docs: fix service docs 2020-04-28 16:15:24 +03:00
Leonard Lyubich
17dca3a387 Update changelog for v0.7.2 2020-04-28 12:36:09 +03:00
Leonard Lyubich
54147ddad2
Merge pull request #11 from nspcc-dev/service-fix-token-message
service: remove gogoproto customname from embedded Token.Info field
2020-04-28 11:26:09 +03:00
Leonard Lyubich
1de0d29a74 service: remove gogoproto customname from embedded Token.Info field
This commit:

  * removes gogoproto customname option from embedded Token.Info field;

  * renames Info field of Token message to TokenInfo.
2020-04-28 10:00:11 +03:00
Evgeniy Kulikov
4a2a9db396
Merge pull request #10 from nspcc-dev/object-remove-token-fields
object: remove Token field from PutRequest.PutHeader and DeleteRequest
2020-04-27 15:12:09 +03:00
Leonard Lyubich
738d521214 object: remove Token field from PutRequest.PutHeader and DeleteRequest
Session token is presented in RequestVerificationHeader, therefore its
presence in request bodies is redundant.
2020-04-27 13:17:16 +03:00
Leonard Lyubich
360d3ae2ce docs: regenerate 2020-04-27 13:14:31 +03:00
Evgeniy Kulikov
78af092531
Merge pull request #9 from nspcc-dev/request-headers-body-changes
Changes for updated session token
2020-04-27 12:29:22 +03:00
Leonard Lyubich
da3cb02936 object: remove redundant Raw field from GetRequest and HeadRequest 2020-04-27 11:00:03 +03:00
Leonard Lyubich
6b68940643 token: update structure
This commit:

  * moves Token message to service package;

  * updates token structure (new verb field, some renaming);

  * replaces VerificationHeader header with Token in object package;

  * removes no longer used VerificationHeader message.
2020-04-27 10:59:44 +03:00
Leonard Lyubich
b84fab4d24 service: change RequestVerificationHeader message
This commit:

  * removes RequestVerificationHeader.Signature message;

  * renames RequestVerificationHeader.Sign message to Signature.
2020-04-23 13:44:21 +03:00
Leonard Lyubich
a891eff012 service: add Raw field to RequestMetaHeader 2020-04-23 13:34:06 +03:00
Evgeniy Kulikov
e411a89c52
CHANGELOG 2020-04-20 13:41:59 +03:00
Evgeniy Kulikov
f3ff630d9e
Merge pull request #8 from nspcc-dev/add-rpc-method-to-change-node-state
Add gRPC method to change current node state
2020-04-20 13:33:18 +03:00
Evgeniy Kulikov
c9edac72b4
docs: regenerate files 2020-04-20 13:29:30 +03:00
Evgeniy Kulikov
096e7211b4
proto: add method to change current node state 2020-04-20 13:29:30 +03:00
Evgeniy Kulikov
ad46d41313
make: change deps output 2020-04-20 12:03:55 +03:00
Leonard Lyubich
1d7c767759 update changelog for v0.7.0 2020-04-16 17:00:36 +03:00
Leonard Lyubich
974aaee0a2
Merge pull request #7 from nspcc-dev/put-header-copies-number
Add numerical field CopiesNumber into object.PutRequest.PutHeader
2020-04-15 20:03:45 +03:00
Leonard Lyubich
846a84cd0c regenerate docs 2020-04-15 18:27:46 +03:00
Leonard Lyubich
17e7c3ae30 add PutRequest.PutHeader.CopiesNumber uint32 field 2020-04-15 18:26:03 +03:00
Evgeniy Kulikov
4c4e3340d6
CHANGELOG 2020-04-15 14:37:31 +03:00
Evgeniy Kulikov
96aeb5e1e0
Merge pull request #6 from nspcc-dev/bootstrap_node_state
Bootstrap node state
2020-04-15 14:33:47 +03:00
Evgeniy Kulikov
15de641fb1
regenerate docs 2020-04-15 12:24:40 +03:00
Evgeniy Kulikov
e0f31302b5
add bootstrap.Request.State and enum 2020-04-15 12:24:21 +03:00
Evgeniy Kulikov
25b5c151c7
update license in readme 2020-04-10 09:25:00 +03:00
Evgeniy Kulikov
859cebf87a remove old license 2020-04-09 19:27:39 +03:00
Evgeniy Kulikov
81ba455cd2 Create LICENSE 2020-04-09 19:27:39 +03:00
Evgeniy Kulikov
f7f8f27de5
Merge pull request #4 from AlexVanin/docs/changelog
docs: Add changelog file
2020-04-02 14:55:21 +03:00
alexvanin
71ea2fccd1 docs: Add changelog file 2020-04-02 14:21:07 +03:00
alexvanin
2803a0788d docs: Update container docs with BasicACL field 2020-04-01 21:06:54 +03:00
alexvanin
18b698d429 container: Replace AccessGroup with BasicACL
With new ACL conception, access control lists in NeoFS
defined as a required basic ACL and optional extended ACL.

Basic ACL must be set up in container structure. It is a bit
mask stored in 32-bit unsigned integer.

Seven nibbles represent seven object operations: get, put,
head, search, delete, range, range-hash.

Every nibble defines access rules for three targets: user,
owner, others and has permission bit for bearer token.

There is a permission bit for extended ACL and three unused
bits.
2020-04-01 21:06:54 +03:00
alexvanin
2b667d13ec docs: Add Decimal section in readme file 2020-04-01 21:02:46 +03:00
alexvanin
5b8fecc93d docs: Add docs for new ACL package
This commit adds auto-generated proto-docs page and
ACL section in readme.
2020-04-01 21:02:46 +03:00
alexvanin
afd55ac90b acl: Define target of access control rules
Basic NeoFS ACL applies access rules to request sender. Request
senders are combined in groups that calls `targets`.

Basic ACL rules may be applied to these targets:

  1. User - request sender is the owner of the container,
     used in the request.

  2. System - request sender is the storage node
     within the container used in the request or
     inner ring node.

  3. Others - request sender is none of the above.

 Extended ACL rules may be applied for targets, provided with
 extra information.

  4. PubKey - request sender has provided public key.
2020-04-01 21:02:46 +03:00
alexvanin
b48cc534f4 docs: Update readme file for public release 2020-04-01 18:23:41 +03:00
Evgeniy Kulikov
ed82c23642
update netmap library version 2020-03-31 10:36:51 +03:00
Evgeniy Kulikov
54060e29be
update proto docs 2020-03-31 10:17:52 +03:00
Evgeniy Kulikov
d8a0c287c4
Migrate to NeoFS API Go 2020-03-31 09:58:22 +03:00