• v1.5.2 c8d8e7b900

    emitlinks released this 2026-10-19 19:14:16 +00:00 | 70 commits to main since this release

    v1.5.2

    Default entity is now a dropdown of reachable entities.

    • Config::getAccessibleEntities() builds the list from the active profile's entity grants (expanded when recursive) plus the ancestors of the currently active entity, mirroring how GLPI builds its own entity selector.
    • The free-text "Default entity ID" field is replaced by a <select> listing every entity the profile can actually reach, ordered by level and complete name.
    • Config::resolveDefaultEntity() never returns an id outside that list: it falls back to the active entity, then to the first reachable one.
    • Saving an entity that no longer exists (or is not reachable with the profile) is rejected server-side, an error message is shown, and a valid entity is stored instead.
    • SyncEngine now uses resolveDefaultEntity() when creating assets, so a stale configured id can no longer create assets in a non-existent entity.
    • Added a warning style for the entity-correction notice.

    Install

    Unzip into glpi/plugins/ so the folder is glpi/plugins/airwatchsync, then activate the plugin from Setup > Plugins.

    Downloads