Changes in this class look like a copy/paste of the changes in ResourceRightsController. The logic should be moved to a separate service which will be used by both classes. The method `WorkspaceTag::isTagDisplayable` would probably be better there too (a non static version).