Hello, it may seem like a silly question, but I just need to be aware of how an Array is created, so that the jstree is populated as shown below.
I want to create an array containing the controller (example: user) and its functions view
, criar
, editar
and excluir
and display them in jstree to mark and uncheck what the user can access.