/usr/share/pgmodeler/schemas/xml/role.sch is in pgmodeler-common 0.9.1~beta-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # XML definition for roles
# CAUTION: Do not modify this file unless you know what you are doing.
# Code generation can be broken if incorrect changes are made.
%if {reduced-form} %then $tb %end
[<role name=] "{name}"
%if {reduced-form} %then
/> $br
%else
%if {superuser} %then $br [ superuser="true"] %end
%if {createdb} %then $br [ createdb="true"] %end
%if {replication} %then $br [ replication="true"] %end
%if {createrole} %then $br [ createrole="true"] %end
%if {inherit} %then $br [ inherit="true"] %end
%if {login} %then $br [ login="true"] %end
%if {encrypted} %then $br [ encrypted="true"] %end
%if {connlimit} %then $br [ connlimit=]"{connlimit}" %end
%if {validity} %then $br [ validity=]"{validity}" %end
%if {password} %then $br [ password=]"{password}" %end
%if {protected} %then
$br [ protected="true"]
%end
%if {sql-disabled} %then
$br [ sql-disabled="true"]
%end
> $br
%if {comment} %then {comment} %end
%if {appended-sql} %then {appended-sql} %end
%if {prepended-sql} %then {prepended-sql} %end
%if {ref-roles} %then $tb [<roles names=] "{ref-roles}" [ role-type="refer" />] $br %end
%if {member-roles} %then $tb [<roles names=] "{member-roles}" [ role-type="member" />] $br %end
%if {admin-roles} %then $tb [<roles names=] "{admin-roles}" [ role-type="admin" />] $br %end
</role> $br $br
%end
|