Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 591 Bytes
syntax = "proto3";
// Package access_security provides basic definition of user and permission group
package access_security;
message User {
string name = 1;
string password_hash = 2;
repeated string permissions = 3; // Permission name, user is allowed for more permission groups
}
message PermissionGroup {
string name = 1;
message Permissions {
string url = 1; // URL enabled for the permission
repeated string allowed_methods = 2; // Methods enabled for the URL
}
repeated Permissions permissions = 2;
}
You can’t perform that action at this time.