Category permission setting and geting