Issue #4: Add support for IDs in permissions.