Right permissions problem on dashboard pages

Permalink
Hello i have developed a large page with many dashboard pages. The sitemap is like:

- Main 1
|- Sub 1
|- Sub 2
|- Sub 3
|- Sub 4

- Main 2
|- Sub 1
|- Sub 2
...

So i want to set permissions that only specific users can access a subpage. On Concrete5-site by setting permissions to the sitemap it doesn't working. what for code i have to implement in my dashboard page controller to read the permission settings?

fabianbitter