diff --git a/src/dbp-guest-check-in.js b/src/dbp-guest-check-in.js index 4be31f2..c5c6ac9 100644 --- a/src/dbp-guest-check-in.js +++ b/src/dbp-guest-check-in.js @@ -288,9 +288,6 @@ class GuestCheckIn extends ScopedElementsMixin(DBPCheckInLitElement) { hasPermissions() { if (!this.auth.person || !Array.isArray(this.auth.person.roles)) return false; - // For backwards compat, remove once the backend is new enough - if (this.auth.person.roles.includes('ROLE_STAFF')) return true; - if (this.auth.person.roles.includes('ROLE_SCOPE_LOCATION-CHECK-IN-GUEST')) return true; return false;