Fixed active tabs depending on permissions.