enonic / doc-xp

Enonic XP > 7.0 Reference Documentation
2 stars 3 forks source link

Document implementation of Admin Tools #86

Open alansemenov opened 4 years ago

alansemenov commented 4 years ago

We are missing description of Admin Tools

poi33 commented 4 years ago

This looks like a copy it over to the new docs

ComLock commented 5 months ago

On developer.enonic.com there is still no documentation for admin tool descriptors for instance.

Even the old doc doesn't specify which principals are used if there is no allow section in the xml file. https://xp.readthedocs.io/en/stable/developer/admin/tools/index.html#

ComLock commented 5 months ago

Turns out an app won't even load unless the tool descriptor has an section.

The allow section can be empty though, but is safe, because it requires login and if that user doesn't have admin you get: 403 via error handler

An app is loaded fine without an section in a widget, but the widgetUrl requires login, and by default some admin role.