diff --git a/pbs-api-types/src/acl.rs b/pbs-api-types/src/acl.rs index 140ff58e..ad8c66a7 100644 --- a/pbs-api-types/src/acl.rs +++ b/pbs-api-types/src/acl.rs @@ -76,7 +76,7 @@ constnamedbitmap! { /// Admin always has all privileges. It can do everything except a few actions /// which are limited to the 'root@pam` superuser -pub const ROLE_ADMIN: u64 = std::u64::MAX; +pub const ROLE_ADMIN: u64 = u64::MAX; /// NoAccess can be used to remove privileges from specific (sub-)paths pub const ROLE_NO_ACCESS: u64 = 0;