Added resource permissions handling REST interfaces