ЛР7 на 4: HTTPS, mTLS, OpenBao AppRole и ротация leaf.
Skeleton contracts / contracts (pull_request) Blocked by required conditions

Smoke/security/grade4/persistence/failover пройдены; REPORT и DEFENSE.
This commit is contained in:
2026-12-02 23:08:27 +03:00
parent 20afc2c790
commit 2f2047909f
182 changed files with 15169 additions and 90 deletions
+15
View File
@@ -0,0 +1,15 @@
package studenttests_test
import (
"net/http"
"testing"
)
func TestACLUnauthorizedChat(t *testing.T) {
user1 := createUser(t)
user2 := createUser(t)
outsider := createUser(t)
chat := createChat(t, user1, user1.ID, user2.ID)
resp := doRequest(t, http.MethodGet, "/api/v1/chats/"+chat.ID.String(), outsider.Token, nil)
requireStatus(t, resp, http.StatusNotFound)
}