{ "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/search/findByUsername?username=ab{&page,size,sort}", "templated": true } }, "_embedded": { "entityPermissions": [ { "@id": 1, "accessType": "READ_WRITE", "entity": "User", "@anyField": true, "@roleName": "Администратор", "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/1" }, "role": { "href": "http://localhost:10080/api/entityPermissions/1/role" } } }, { "@id": 2, "accessType": "READ_WRITE", "entity": "EntityPermission", "@anyField": true, "@roleName": "Администратор", "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/2" }, "role": { "href": "http://localhost:10080/api/entityPermissions/2/role" } } }, { "@id": 3, "accessType": "READ_WRITE", "entity": "Role", "@anyField": true, "@roleName": "Администратор", "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/3" }, "role": { "href": "http://localhost:10080/api/entityPermissions/3/role" } } }, { "@id": 4, "accessType": "READ_ONLY", "entity": "FederalSubject", "@anyField": true, "@roleName": "Администратор", "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/4" }, "role": { "href": "http://localhost:10080/api/entityPermissions/4/role" } } }, { "@id": 5, "accessType": "READ_ONLY", "entity": "MilitaryUnit", "@anyField": true, "@roleName": "Администратор", "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/5" }, "role": { "href": "http://localhost:10080/api/entityPermissions/5/role" } } }, { "@id": 6, "accessType": "READ_ONLY", "entity": "MilitaryDistrict", "@anyField": true, "@roleName": "Администратор", "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/6" }, "role": { "href": "http://localhost:10080/api/entityPermissions/6/role" } } }, { "@id": 7, "accessType": "READ_ONLY", "entity": "Settlement", "@anyField": true, "@roleName": "Администратор", "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/7" }, "role": { "href": "http://localhost:10080/api/entityPermissions/7/role" } } }, { "@id": 8, "accessType": "READ_ONLY", "entity": "MilitaryRank", "@anyField": true, "@roleName": "Администратор", "_links": { "self": { "href": "http://localhost:10080/api/entityPermissions/8" }, "role": { "href": "http://localhost:10080/api/entityPermissions/8/role" } } } ] }, "page": { "size": 20, "totalElements": 8, "totalPages": 1, "number": 0 } }