GUI Design for permissions page

I need some advice to design a web page ui where admins assign permissions (ViewObject, HideObject or NotSet) to any of the objects in multilevel treeview.

The entities are (User Groups, Users, TreeObject) and the assignable permissions are (ViewObject, HideObject or NotSet)

Any ideas how to combine these into a single page ?

Thanks.