25 lines
419 B
JavaScript
25 lines
419 B
JavaScript
|
|
|
||
|
|
import groups from '/user/group/user.group.permission.js';
|
||
|
|
|
||
|
|
import renderCollection from "/unify/renderCollection.js";
|
||
|
|
|
||
|
|
|
||
|
|
export default class checkRenderCollection extends renderCollection{
|
||
|
|
|
||
|
|
debug = true;
|
||
|
|
|
||
|
|
display = "table"
|
||
|
|
|
||
|
|
permission() {
|
||
|
|
|
||
|
|
this.allow( groups.admin, "WRITE" );
|
||
|
|
|
||
|
|
this.allow( groups.member, "READ" );
|
||
|
|
|
||
|
|
this.allow( groups.admin, "READ" );
|
||
|
|
|
||
|
|
this.allow( groups.visitor, "READ" );
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|