insightsengineering / insightsengineering/teal
[Question]: <How to get components of the session outside of a teal module? >
Open
core
question
- Dominant language
- R
- Stars
- 263
- Forks
- 59
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 5
Description
### What is your question?
I am trying to restrict user access to different teal modules in an app and I need to identify the current session user and control the list of modules passed to the init() function. Is there a way to get the session$user in a teal app outside the module definition?
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct.
### Contribution Guidelines
- [X] I agree to follow this project's Contribution Guidelines.
### Security Policy
- [X] I agree to follow this project's Security Policy.
Contributor guide
Assessment
This issue has not been assessed yet.