Revert "remove permisions management"

This reverts commit 8f7e23aeb8a0ac4db6bc8d0a65a29f90f6f54ea7.

Conflicts:
	default.xml