문제

What are the properties of userCtx in CouchDB in filter functions (Can be accessed from req.userCtx)? Is there any way I can get properties stored at _users database for the user from userCtx?

도움이 되었습니까?

해결책

The properties of userCtx object are: db for current database name, name for current username and roles for list of his roles.

This object cannot be extended somehow thought _users database and is permanent.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top