Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/tera
/ Update
Method
Update
src/access/authorization/authorization.cc:10–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
namespace auth {
9
10
void Authorization::Update(const std::string& role_name) {
11
MutexLock l(&mutex_);
12
roles_.emplace(role_name);
13
}
14
15
void Authorization::Delete(const std::string& role_name) {
16
MutexLock l(&mutex_);
Callers
2
AddRecord
Method · 0.45
UpdateTs
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected