blob: 923e897ccdba4d3b8d450293a96f2dd187d71270 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { disallow } from 'feathers-hooks-common';
import requireAuth from '../../hooks/requireAuth';
import signAuthority from '../../hooks/signAuthority';
export default {
before: {
create: [requireAuth, signAuthority],
remove: disallow('external'),
update: disallow('external'),
patch: disallow('external')
}
};
|