add demo links and fix setting.service
This commit is contained in:
parent
ae63f2859a
commit
0a1a21dcce
@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- di on setting resolver, prevented signup settings to be visible in ui
|
- di on setting resolver, prevented signup settings to be visible in ui
|
||||||
|
- return admin of form also for admins
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|||||||
@ -127,7 +127,7 @@ export class FormResolver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ResolveField('admin', () => UserModel)
|
@ResolveField('admin', () => UserModel)
|
||||||
@Roles('superuser')
|
@Roles('admin')
|
||||||
async getAdmin(
|
async getAdmin(
|
||||||
@Parent() parent: FormModel,
|
@Parent() parent: FormModel,
|
||||||
@Context('cache') cache: ContextCache,
|
@Context('cache') cache: ContextCache,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user