Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pyload/pyload
/ setRole
Method
setRole
module/database/UserDatabase.py:83–84 ·
view source on GitHub ↗
(db, user, role)
Source
from the content-addressed store, hash-verified
81
82
@style.async
83
def
setRole(db, user, role):
84
db.c.execute(
"UPDATE users SET role=? WHERE name=?"
, (role, user))
85
86
87
@style.queue
Callers
1
setUserPermission
Method · 0.80
Calls
1
execute
Method · 0.80
Tested by
no test coverage detected