Closed ComLock closed 7 months ago
We won't change Java API (for now, at least), so displayName will have to stay required. We have to fix the TS code though, because displayName is currently nullable there (for users and groups as well). Added a separate task for the docs: https://github.com/enonic/doc-xp/issues/523.
causes
The documentation is unclear https://developer.enonic.com/docs/xp/stable/api/lib-auth#createrole
Sidenote: I appUsers it's not possible to create a role without displayName. The name is just sanitized displayName.
We have two possible solutions: