Add nereidPermission directive and methods #4183