mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
560 lines
17 KiB
560 lines
17 KiB
4 years ago
|
<template>
|
||
|
<div class="h-100">
|
||
|
<v-card style="" class="h-100">
|
||
|
<v-toolbar flat height="42" class="toolbar-border-bottom">
|
||
|
<v-toolbar-title>
|
||
3 years ago
|
<v-breadcrumbs
|
||
3 years ago
|
:items="[
|
||
|
{
|
||
|
text: nodes.env,
|
||
|
disabled: true,
|
||
|
href: '#',
|
||
|
},
|
||
|
{
|
||
|
text: nodes.dbAlias,
|
||
|
disabled: true,
|
||
|
href: '#',
|
||
|
},
|
||
|
{
|
||
|
text: (nodes.title || nodes.view_name || nodes.table_name) + ' (RBAC)',
|
||
|
disabled: true,
|
||
|
href: '#',
|
||
|
},
|
||
|
]"
|
||
3 years ago
|
divider=">"
|
||
|
small
|
||
|
>
|
||
|
<template #divider>
|
||
3 years ago
|
<v-icon small color="grey lighten-2"> forward </v-icon>
|
||
4 years ago
|
</template>
|
||
|
</v-breadcrumbs>
|
||
|
</v-toolbar-title>
|
||
3 years ago
|
<v-spacer />
|
||
3 years ago
|
<x-btn v-ge="['acl', 'reload']" outlined tooltip="Reload RBAC" color="primary" small @click="load">
|
||
|
<v-icon small left> refresh </v-icon>
|
||
3 years ago
|
<!-- Reload -->
|
||
|
{{ $t('general.reload') }}
|
||
4 years ago
|
</x-btn>
|
||
|
|
||
3 years ago
|
<x-btn
|
||
3 years ago
|
v-ge="['acl', 'save']"
|
||
3 years ago
|
outlined
|
||
3 years ago
|
:tooltip="$t('tooltip.saveChanges')"
|
||
3 years ago
|
color="primary"
|
||
|
class="primary"
|
||
|
small
|
||
|
:disabled="!edited"
|
||
|
@click="save"
|
||
4 years ago
|
>
|
||
3 years ago
|
<v-icon small left> save </v-icon>
|
||
3 years ago
|
<!-- Save -->
|
||
|
{{ $t('general.save') }}
|
||
4 years ago
|
</x-btn>
|
||
|
</v-toolbar>
|
||
|
|
||
3 years ago
|
<p class="title mt-6 mb-6">
|
||
3 years ago
|
Table : <span class="text-capitalize">{{ nodes.title || nodes.view_name }}</span
|
||
|
><br />
|
||
3 years ago
|
<span class="font-weight-thin">Role Based Access Control (RBAC) For Columns</span>
|
||
|
</p>
|
||
|
|
||
|
<v-skeleton-loader v-if="loading || !data" type="table" />
|
||
|
|
||
|
<div v-else class="pb-10">
|
||
|
<v-overlay v-model="showCustomAcl" absolute>
|
||
|
<template #default>
|
||
|
<v-card
|
||
3 years ago
|
:light="!$store.state.settings.darkTheme"
|
||
3 years ago
|
class="ma-2"
|
||
3 years ago
|
style="max-height: 100%; overflow: auto; min-height: 70vh"
|
||
3 years ago
|
>
|
||
4 years ago
|
<v-card-actions>
|
||
3 years ago
|
<p class="body-1 mb-0 mr-2">
|
||
3 years ago
|
Custom Rules : {{ custoAclTitle[0] }}<span class="grey--text caption">(table)</span> >
|
||
|
{{ custoAclTitle[1] }}<span class="grey--text caption">(role)</span> > {{ custoAclTitle[2]
|
||
|
}}<span class="grey--text caption">(operation)</span>
|
||
3 years ago
|
</p>
|
||
|
<v-spacer />
|
||
3 years ago
|
<v-btn outlined small @click="showCustomAcl = false">
|
||
3 years ago
|
<!-- Cancel -->
|
||
|
{{ $t('general.cancel') }}
|
||
4 years ago
|
</v-btn>
|
||
3 years ago
|
<v-btn outlined color="primary" small @click="save">
|
||
3 years ago
|
<!-- Save -->
|
||
|
{{ $t('general.save') }}
|
||
4 years ago
|
</v-btn>
|
||
|
</v-card-actions>
|
||
|
<v-card-text>
|
||
3 years ago
|
<custom-acl v-model="customAcl" :nodes="nodes" :table="nodes.table_name || nodes.view_name" />
|
||
4 years ago
|
</v-card-text>
|
||
|
</v-card>
|
||
|
</template>
|
||
|
</v-overlay>
|
||
3 years ago
|
<v-simple-table dense class="mx-10">
|
||
4 years ago
|
<thead>
|
||
3 years ago
|
<tr>
|
||
|
<th rowspan="2" class="text-center">
|
||
|
<!-- <div class="d-flex justify-center align-end">-->
|
||
|
<!-- <v-checkbox dense v-model="aclAll"></v-checkbox>-->
|
||
|
|
||
|
<span>Columns x RBAC</span>
|
||
3 years ago
|
<!-- <v-text-field dense hide-details class="my-2 caption font-weight-regular"
|
||
3 years ago
|
flat
|
||
|
outlined
|
||
3 years ago
|
:placeholder="`Search columns in '${nodes.title|| nodes.view_name}'`"
|
||
3 years ago
|
prepend-inner-icon="search" v-model="search"
|
||
|
></v-text-field>-->
|
||
3 years ago
|
<!-- </div>-->
|
||
3 years ago
|
</th>
|
||
|
<template v-for="role in roles">
|
||
3 years ago
|
<th v-if="role !== 'creator'" :key="role" :colspan="operations.length" class="text-center">
|
||
3 years ago
|
{{ role }}
|
||
|
</th>
|
||
|
</template>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<template v-for="role in roles">
|
||
|
<template v-if="role !== 'creator'">
|
||
|
<th
|
||
|
v-for="op in operations"
|
||
|
:key="`${role}-${op.name}--11`"
|
||
|
:class="` pa-0 caption text-capitalize ${op.color}--text`"
|
||
|
class="permission role-op-header"
|
||
|
>
|
||
|
<v-tooltip bottom>
|
||
3 years ago
|
<template #activator="{ on }">
|
||
3 years ago
|
<div class="d-flex flex-column justify-center align-center d-100 h-100 mt-0" v-on="on">
|
||
|
<v-checkbox
|
||
|
v-model="aclRoleOpAll[`${role}___${op.name}`]"
|
||
|
hide-details
|
||
|
class="mt-n1"
|
||
|
dense
|
||
|
:color="op.color"
|
||
3 years ago
|
@change="onAclRoleOpAllChange(aclRoleOpAll[`${role}___${op.name}`], `${role}___${op.name}`)"
|
||
3 years ago
|
/>
|
||
|
<span>{{ op.name }}</span>
|
||
|
</div>
|
||
|
</template>
|
||
3 years ago
|
<span class="caption"
|
||
|
><span class="text-capitalize">{{ role }}</span>
|
||
|
{{ aclRoleOpAll[`${role}___${op.name}`] ? 'can' : "can't" }} {{ op.name }} '{{
|
||
|
nodes.table_name
|
||
|
}}' rows</span
|
||
|
>
|
||
3 years ago
|
</v-tooltip>
|
||
|
|
||
|
<v-icon
|
||
|
v-if="op.name !== 'delete'"
|
||
|
x-small
|
||
|
class="custom-acl"
|
||
3 years ago
|
@click="
|
||
|
(showCustomAcl = true),
|
||
|
(custoAclTitle = [nodes.table_name, role, op.name]),
|
||
|
(customAcl = (data[role] && data[role][op.name] && data[role][op.name].custom) || {})
|
||
|
"
|
||
3 years ago
|
>
|
||
|
mdi-pencil-outline
|
||
|
</v-icon>
|
||
|
|
||
|
<v-icon
|
||
3 years ago
|
v-if="
|
||
|
data[role] &&
|
||
|
data[role][op.name] &&
|
||
|
data[role][op.name].custom &&
|
||
|
Object.keys(data[role][op.name].custom).length
|
||
|
"
|
||
3 years ago
|
x-small
|
||
|
class="custom-acl-found"
|
||
|
>
|
||
|
mdi-filter-menu
|
||
|
</v-icon>
|
||
|
</th>
|
||
|
</template>
|
||
|
</template>
|
||
|
</tr>
|
||
4 years ago
|
</thead>
|
||
|
<tbody>
|
||
3 years ago
|
<tr
|
||
|
v-for="column in columns"
|
||
3 years ago
|
v-show="column.title.toLowerCase().indexOf(search.toLowerCase()) > -1"
|
||
|
:key="column.title"
|
||
3 years ago
|
class="caption"
|
||
|
>
|
||
|
<td>
|
||
3 years ago
|
{{ column.title }}
|
||
4 years ago
|
</td>
|
||
3 years ago
|
<template v-for="role in roles">
|
||
3 years ago
|
<template v-if="role !== 'creator'">
|
||
3 years ago
|
<td
|
||
|
v-for="op in operations"
|
||
|
:key="`${role}-${op.name}`"
|
||
|
class="pa-0"
|
||
|
style="position: relative"
|
||
|
:class="`caption text-capitalize`"
|
||
|
>
|
||
|
<v-tooltip bottom :disabled="op.ignore">
|
||
3 years ago
|
<template #activator="{ on }">
|
||
3 years ago
|
<div
|
||
|
class="d-100 h-100 d-flex align-center justify-center permission-checkbox-container"
|
||
|
v-on="on"
|
||
|
>
|
||
|
<v-checkbox
|
||
|
v-if="!op.ignore"
|
||
3 years ago
|
v-model="aclObj[`${column.title}___${role}___${op.name}`]"
|
||
3 years ago
|
class="mt-n1"
|
||
|
dense
|
||
|
color="primary lighten-2"
|
||
|
style=""
|
||
3 years ago
|
@change="
|
||
|
onPermissionChange(
|
||
|
aclObj[`${column.title}___${role}___${op.name}`],
|
||
|
`${role}___${op.name}`
|
||
|
)
|
||
|
"
|
||
3 years ago
|
/>
|
||
|
|
||
3 years ago
|
<v-checkbox v-else class="mt-n1" dense color="primary lighten-2" disabled style="" />
|
||
3 years ago
|
</div>
|
||
|
</template>
|
||
|
|
||
3 years ago
|
<span class="caption"
|
||
|
><span class="text-capitalize">{{ role }}</span>
|
||
|
{{ aclObj[`${column.title}___${role}___${op.name}`] ? 'can' : "can't" }} {{ op.name }} column
|
||
|
'{{ column.title }}'</span
|
||
|
>
|
||
3 years ago
|
</v-tooltip>
|
||
|
</td>
|
||
|
</template>
|
||
|
</template>
|
||
|
</tr>
|
||
4 years ago
|
</tbody>
|
||
|
</v-simple-table>
|
||
|
</div>
|
||
|
</v-card>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
// import debounce from "@/helpers/debounce";
|
||
|
// import CustomAcl from "./customAcl";
|
||
|
|
||
3 years ago
|
import CustomAcl from './CustomAcl';
|
||
4 years ago
|
|
||
|
export default {
|
||
3 years ago
|
name: 'TableAcl',
|
||
|
components: { CustomAcl },
|
||
4 years ago
|
// components: {CustomAcl},
|
||
|
props: ['nodes'],
|
||
|
data: () => ({
|
||
|
showCustomAcl: false,
|
||
|
custoAclTitle: null,
|
||
|
customAcl: {},
|
||
|
edited: false,
|
||
|
search: '',
|
||
3 years ago
|
allOperations: [
|
||
|
{
|
||
|
name: 'create',
|
||
|
color: 'warning',
|
||
|
},
|
||
|
{
|
||
|
name: 'read',
|
||
|
color: 'success',
|
||
|
},
|
||
|
{
|
||
|
name: 'update',
|
||
|
color: 'info',
|
||
|
},
|
||
|
{
|
||
|
name: 'delete',
|
||
|
color: 'error',
|
||
|
ignore: true,
|
||
|
},
|
||
|
],
|
||
4 years ago
|
|
||
|
data: null,
|
||
|
columns: null,
|
||
|
aclObj: {},
|
||
|
aclRoleOpAll: {},
|
||
3 years ago
|
loading: false,
|
||
4 years ago
|
}),
|
||
|
computed: {
|
||
3 years ago
|
roles() {
|
||
3 years ago
|
return (this.data ? Object.keys(this.data) : []).filter(r => r !== 'guest');
|
||
4 years ago
|
},
|
||
3 years ago
|
operations() {
|
||
3 years ago
|
return this.allOperations.filter(({ name }) => this.nodes.table_name || name === 'read');
|
||
|
},
|
||
4 years ago
|
},
|
||
3 years ago
|
async created() {
|
||
3 years ago
|
await this.load();
|
||
4 years ago
|
},
|
||
|
methods: {
|
||
3 years ago
|
async load() {
|
||
3 years ago
|
await this.loadColumnList();
|
||
|
await this.loadAcl();
|
||
|
this.generateAclObj();
|
||
|
this.edited = false;
|
||
4 years ago
|
},
|
||
3 years ago
|
generateAclObj() {
|
||
3 years ago
|
const aclObj = {};
|
||
|
const aclRoleOpAll = {};
|
||
|
console.log(this.data);
|
||
4 years ago
|
// generate aclObj with merged key value
|
||
|
for (const [role, roleObj] of Object.entries(this.data)) {
|
||
|
for (const [operation, acl] of Object.entries(roleObj)) {
|
||
3 years ago
|
aclRoleOpAll[`${role}___${operation}`] = false;
|
||
3 years ago
|
for (const { _cn: cn } of this.columns) {
|
||
4 years ago
|
if (typeof acl === 'boolean') {
|
||
3 years ago
|
aclObj[`${cn}___${role}___${operation}`] = acl;
|
||
4 years ago
|
} else if (acl) {
|
||
3 years ago
|
aclObj[`${cn}___${role}___${operation}`] = acl.columns[cn];
|
||
4 years ago
|
}
|
||
|
if (!aclRoleOpAll[`${role}___${operation}`] && aclObj[`${cn}___${role}___${operation}`]) {
|
||
3 years ago
|
aclRoleOpAll[`${role}___${operation}`] = true;
|
||
4 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
3 years ago
|
this.aclRoleOpAll = aclRoleOpAll;
|
||
3 years ago
|
this.$nextTick(() => {
|
||
3 years ago
|
this.aclObj = aclObj;
|
||
|
});
|
||
4 years ago
|
},
|
||
3 years ago
|
async save() {
|
||
3 years ago
|
const obj = {};
|
||
4 years ago
|
for (const [key, isAllowed] of Object.entries(this.aclObj)) {
|
||
3 years ago
|
const [column, role, operation] = key.split('___');
|
||
4 years ago
|
if (operation !== 'delete') {
|
||
3 years ago
|
obj[role] = obj[role] || {};
|
||
|
obj[role][operation] = obj[role][operation] || {};
|
||
|
obj[role][operation].columns = obj[role][operation].columns || {};
|
||
|
obj[role][operation].columns[column] = isAllowed;
|
||
4 years ago
|
}
|
||
|
if (this.data[role] && this.data[role][operation] && this.data[role][operation].custom) {
|
||
3 years ago
|
obj[role][operation].custom = this.data[role][operation].custom;
|
||
4 years ago
|
}
|
||
|
}
|
||
|
|
||
|
for (const [key, isAllowed] of Object.entries(this.aclRoleOpAll)) {
|
||
3 years ago
|
const [role, operation] = key.split('___');
|
||
4 years ago
|
if (operation === 'delete' || !isAllowed) {
|
||
3 years ago
|
obj[role] = obj[role] || {};
|
||
|
obj[role][operation] = isAllowed;
|
||
4 years ago
|
}
|
||
|
}
|
||
|
|
||
|
if (this.showCustomAcl && this.custoAclTitle) {
|
||
3 years ago
|
if (
|
||
|
!obj[this.custoAclTitle[1]][this.custoAclTitle[2]] ||
|
||
|
typeof obj[this.custoAclTitle[1]][this.custoAclTitle[2]] !== 'object'
|
||
|
) {
|
||
|
obj[this.custoAclTitle[1]][this.custoAclTitle[2]] = {};
|
||
3 years ago
|
}
|
||
3 years ago
|
obj[this.custoAclTitle[1]][this.custoAclTitle[2]].custom = this.customAcl;
|
||
4 years ago
|
}
|
||
|
|
||
3 years ago
|
console.log(obj);
|
||
4 years ago
|
try {
|
||
3 years ago
|
await this.$store.dispatch('sqlMgr/ActSqlOp', [
|
||
|
{
|
||
|
env: this.nodes.env,
|
||
|
dbAlias: this.nodes.dbAlias,
|
||
|
},
|
||
|
'xcAclSave',
|
||
|
{
|
||
|
tn: this.nodes.table_name || this.nodes.view_name,
|
||
|
acl: obj,
|
||
|
},
|
||
|
]);
|
||
4 years ago
|
if (this.showCustomAcl) {
|
||
3 years ago
|
this.$toast.success('Custom RBAC saved successfully').goAway(3000);
|
||
|
this.showCustomAcl = false;
|
||
3 years ago
|
} else {
|
||
3 years ago
|
this.$toast.success('RBAC saved successfully').goAway(3000);
|
||
3 years ago
|
}
|
||
3 years ago
|
this.edited = false;
|
||
|
await this.load();
|
||
4 years ago
|
} catch (e) {
|
||
3 years ago
|
this.$toast.error(e.message).goAway(3000);
|
||
4 years ago
|
}
|
||
|
},
|
||
|
|
||
3 years ago
|
async loadColumnList() {
|
||
4 years ago
|
// const result = await this.$store.dispatch('sqlMgr/ActSqlOp', [{
|
||
|
// env: this.nodes.env,
|
||
|
// dbAlias: this.nodes.dbAlias
|
||
|
// }, 'columnList', {
|
||
3 years ago
|
// tn: this.nodes.table_name || this.nodes.view_name
|
||
4 years ago
|
// }]);
|
||
|
// this.columns = result.data.list;
|
||
3 years ago
|
const result = await this.$store.dispatch('sqlMgr/ActSqlOp', [
|
||
|
{
|
||
|
env: this.nodes.env,
|
||
|
dbAlias: this.nodes.dbAlias,
|
||
|
},
|
||
|
'tableXcModelGet',
|
||
|
{
|
||
|
tn: this.nodes.table_name || this.nodes.view_name,
|
||
|
},
|
||
|
]);
|
||
|
|
||
|
const meta = JSON.parse(result.meta);
|
||
|
this.columns = meta.columns;
|
||
4 years ago
|
},
|
||
3 years ago
|
async loadAcl() {
|
||
3 years ago
|
this.loading = true;
|
||
|
const result = await this.$store.dispatch('sqlMgr/ActSqlOp', [
|
||
|
{
|
||
|
env: this.nodes.env,
|
||
|
dbAlias: this.nodes.dbAlias,
|
||
|
},
|
||
|
'xcAclGet',
|
||
|
{
|
||
|
tn: this.nodes.table_name || this.nodes.view_name,
|
||
|
},
|
||
|
]);
|
||
|
this.data = JSON.parse(result.acl);
|
||
|
|
||
|
this.loading = false;
|
||
4 years ago
|
},
|
||
3 years ago
|
onAclRoleOpAllChange(isEnabled, name) {
|
||
3 years ago
|
this.edited = true;
|
||
|
const obj = {};
|
||
4 years ago
|
for (const key in this.aclObj) {
|
||
|
if (key.split('___').slice(1).join('___') === name) {
|
||
3 years ago
|
obj[key] = isEnabled;
|
||
4 years ago
|
} else {
|
||
3 years ago
|
obj[key] = this.aclObj[key];
|
||
4 years ago
|
}
|
||
|
}
|
||
3 years ago
|
this.aclObj = obj;
|
||
4 years ago
|
},
|
||
3 years ago
|
onPermissionChange(isEnabled, name) {
|
||
3 years ago
|
this.edited = true;
|
||
4 years ago
|
if (isEnabled && !this.aclRoleOpAll[name]) {
|
||
3 years ago
|
this.$set(this.aclRoleOpAll, name, true);
|
||
4 years ago
|
}
|
||
|
if (!isEnabled && this.aclRoleOpAll[name]) {
|
||
3 years ago
|
this.$set(
|
||
|
this.aclRoleOpAll,
|
||
|
name,
|
||
|
Object.entries(this.aclObj).some(([key, enabled]) => key.endsWith(name) && enabled)
|
||
|
);
|
||
4 years ago
|
}
|
||
3 years ago
|
},
|
||
|
},
|
||
4 years ago
|
// watch: {
|
||
|
// aclRoleOpAll: {
|
||
|
// // todo: fix toggle issue
|
||
|
// handler(aclRoleOpAll) {
|
||
|
// const obj = {};
|
||
|
// for (const key in this.aclObj) {
|
||
|
// obj[key] = aclRoleOpAll[key.split('___').slice(1).join('___')];
|
||
|
// }
|
||
|
// this.aclObj = obj;
|
||
|
// },
|
||
|
// deep: true
|
||
|
// }
|
||
|
//
|
||
|
// }
|
||
3 years ago
|
};
|
||
4 years ago
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
3 years ago
|
tr,
|
||
|
th {
|
||
4 years ago
|
border: 1px solid grey;
|
||
|
}
|
||
3 years ago
|
|
||
3 years ago
|
td,
|
||
|
th {
|
||
4 years ago
|
border-left: 1px solid grey;
|
||
|
}
|
||
|
|
||
3 years ago
|
td:last-child,
|
||
|
th:last-child {
|
||
4 years ago
|
border-right: 1px solid grey;
|
||
|
}
|
||
|
|
||
3 years ago
|
tr:first-child > th:nth-child(n + 2) {
|
||
4 years ago
|
border-bottom: 1px solid grey;
|
||
|
}
|
||
|
|
||
|
th.permission {
|
||
|
padding-left: 0;
|
||
|
padding-right: 0;
|
||
|
/*width: 75px;*/
|
||
|
}
|
||
|
|
||
|
//.permission-checkbox-container {
|
||
|
// transition: filter .4s;
|
||
|
// filter: grayscale(100%);
|
||
|
//}
|
||
|
//
|
||
|
//.permission-checkbox-container:hover {
|
||
|
// filter: none;
|
||
|
//}
|
||
|
|
||
|
::v-deep {
|
||
|
.permission-checkbox-container .v-input {
|
||
3 years ago
|
transform: scale(0.8);
|
||
4 years ago
|
}
|
||
|
|
||
|
.v-overlay__content {
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
3 years ago
|
|
||
|
table {
|
||
4 years ago
|
border-collapse: collapse;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.role-op-header {
|
||
|
position: relative;
|
||
|
|
||
|
.custom-acl {
|
||
|
opacity: 0;
|
||
3 years ago
|
transition: opacity 0.4s;
|
||
4 years ago
|
position: absolute;
|
||
|
right: 1px;
|
||
|
bottom: 1px;
|
||
|
}
|
||
|
|
||
|
.custom-acl-found {
|
||
|
position: absolute;
|
||
|
right: 1px;
|
||
|
top: 1px;
|
||
|
}
|
||
|
|
||
|
&:hover .custom-acl {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
<!--
|
||
|
/**
|
||
|
* @copyright Copyright (c) 2021, Xgene Cloud Ltd
|
||
|
*
|
||
|
* @author Naveen MR <oof1lab@gmail.com>
|
||
|
* @author Pranav C Balan <pranavxc@gmail.com>
|
||
|
*
|
||
|
* @license GNU AGPL version 3 or any later version
|
||
|
*
|
||
|
* This program is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU Affero General Public License as
|
||
|
* published by the Free Software Foundation, either version 3 of the
|
||
|
* License, or (at your option) any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU Affero General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Affero General Public License
|
||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*
|
||
|
*/
|
||
|
-->
|