This should be removed in the future
Return correct permission value