Add subscription and integration to user
This commit is contained in:
@ -10,6 +10,8 @@ import {
|
||||
ReceivedEmail,
|
||||
Group,
|
||||
ContentDisplayReport,
|
||||
Subscription,
|
||||
Integration,
|
||||
} from './db'
|
||||
import { compare, hashSync } from 'bcryptjs'
|
||||
const readYamlFile = require('read-yaml-file')
|
||||
@ -37,6 +39,8 @@ const ADMIN_USER_EMAIL =
|
||||
{ resource: UserArticle, options: { parent: { name: 'Users' } } },
|
||||
{ resource: ReceivedEmail, options: { parent: { name: 'Users' } } },
|
||||
{ resource: Group, options: { parent: { name: 'Users' } } },
|
||||
{ resource: Subscription, options: { parent: { name: 'Users' } } },
|
||||
{ resource: Integration, options: { parent: { name: 'Users' } } },
|
||||
{
|
||||
resource: ContentDisplayReport,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user