const classfantorepo302::AuthService
sys::Obj fantorepo302::AuthService : sys::Service
AuthService
- canSeePod
Bool canSeePod(WebReq req, PodInfo pod)
Wether the current user is allowed read acces to this pod
- db
const DB db := ...
- filterPodList
PodInfo[] filterPodList(WebReq req, PodInfo[] pods)
Remove pods the user can't see
- isPodOwner
Bool isPodOwner(WebReq req, PodInfo pod)
Whether the current user owns this pod (published it)
- mongo
const Mongo mongo := ...
- settings
const SettingsService settings := Service.find(SettingsService#)