# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/fjr3olq
【Go Web 開發】授予用戶權限**
上一篇文章我們的權限模型和權限檢查中間件已經可以正常運行了。但此時,當新用戶註冊一個帳戶時,他們沒有任何權限。在本節中,我們將修改這個設置,使新用戶在默認情況下自動被授予 “movies:read” 權限。更新權限模型爲了給用戶授予權限,我們需要更新 PermissionModel,添加 AddForUser() 方法,爲用戶添加一個或多個權限碼到數據庫中。我們的想法是,按以下方式在處理程序中使用 ⌘ Read more