-
Notifications
You must be signed in to change notification settings - Fork 18
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
Test container removal/setEACL with session issued by a NON-owner of the container #579
Comments
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator) or trusted trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator) or trusted trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator) or trusted trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator). Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator). Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator). Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
recent NeoFS CLI revisions check session ownership, so attempting to use another wallet may fail with with
currently, NeoFS CLI will exit with code=0 in case 2, so right now test may rely on code=1 and/or mentioned text output. This may be changed in the future nspcc-dev/neofs-node#2380 P.S. there is no ability to get exact reason of some failures right now. For example, async Inner Ring checks (session ownership is one of them). |
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator). Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator). Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator). Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator). Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added two negative tests that verify that the container cannot be removed or set container EACL by anyone other than the owner (creator). Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Added negative tests that verify that the container can be removed or set container EACL only by trusted party proved by the container owner via session token. Closes nspcc-dev#579 Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
container MUST NOT be removed/setEACLed by anyone except:
AFAIK we have a test that asserts true-positive case (session signed by owner => removal/setEACL OK)
we must additionally test true-negative case:
The text was updated successfully, but these errors were encountered: