The aggregated rights are calculated in the OrmAcl class, and cached there per user. As it is quite complex and time consuming, it isn't calculated for all users, but only for the user that logs in.
I am using angular app.. so as a user property response I need all permissions as a Jason to angular... So that dynamically I can show or hide options as per permission... How I get Json or Array of permissions and actions with true or false.
If you only need it for the current logged-in user, your PHP code can call has_access() once, which will generate the cache file if it doesn't exist. After this, you can just read the cache file directly: