# CakePHP 3: Output ACL permissions as HTML

**URL:** <https://discourse.cakephp.org/t/cakephp-3-output-acl-permissions-as-html/5596>\
**Category:** Need Help\
**Created:** [February 1, 2019, 3:40am UTC](https://discourse.cakephp.org/t/cakephp-3-output-acl-permissions-as-html/5596 "2019-02-01T03:40:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sourjya](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/sourjya/32/422_2.png) [@sourjya](https://discourse.cakephp.org/u/sourjya)\
**Post date:** [February 1, 2019, 3:40am UTC](https://discourse.cakephp.org/t/cakephp-3-output-acl-permissions-as-html/5596/1 "2019-02-01T03:40:59Z")

</div>

I want to output the ACL structure associated with Roles as HTML, in my admin UI - say when a user is viewing a role.

Is there any built-in method that’ll help me build the tree in printable format in my Controllers?

Thank you.
