Filter identifiers and labels based on permissions; Fix specs