xquery version "1.0";
(:
    ART-DECOR® STANDARD COPYRIGHT AND LICENSE NOTE
    Copyright © ART-DECOR Expert Group and ART-DECOR Open Tools GmbH
    see https://docs.art-decor.org/copyright and https://docs.art-decor.org/licenses

    This file is part of the ART-DECOR® tools suite.
:)
import module namespace adpfix   = "http://art-decor.org/ns/art-decor-permissions" at "../api/api-permissions.xqm";

let $fix    := adpfix:setArtPermissions()
let $fix    := adpfix:setDecorPermissions()
let $fix    := adpfix:cleanupDecorTmp()
let $fix    := adpfix:cleanupDevelopmentCompilations()

return
    (:<result>{adpfix:getCurrentPermissions('/db/apps/art/modules')}</result>:)
    <return dateTime="{current-dateTime()}">true</return>
