<?xml version="1.0" ?>
<domain-models xmlns="http://axelor.com/xml/ns/domain-models"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_4.2.xsd">

  <module name="auth" package="com.axelor.auth.db"/>

  <entity name="Permission" cachable="true">
    <![CDATA[
    This object store the permissions.
    ]]>
    
    <string name="name" required="true" unique="true" help="An unique permission name."/>
    <string name="object" required="true" help="Fully qualified object name or wild card package name." />
    <boolean name="canRead" title="Read" help="Whether to grant read access." />
    <boolean name="canWrite" title="Write" help="Whether to grant write access." />
    <boolean name="canCreate" title="Create" help="Whether to grant create access." />
    <boolean name="canRemove" title="Remove" help="Whether to grant remove access." />
    <boolean name="canExport" title="Export" help="Whether to grant export access." />
    <string name="condition" column="condition_value" help="Domain filter as condition." />
    <string name="conditionParams" help="Comma separated list of params for the condition." />
  </entity>

</domain-models>
