add demo links and fix setting.service

This commit is contained in:
Michael Schramm 2020-06-11 16:48:00 +02:00
parent ae63f2859a
commit 0a1a21dcce
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- di on setting resolver, prevented signup settings to be visible in ui
- return admin of form also for admins
### Security

View File

@ -127,7 +127,7 @@ export class FormResolver {
}
@ResolveField('admin', () => UserModel)
@Roles('superuser')
@Roles('admin')
async getAdmin(
@Parent() parent: FormModel,
@Context('cache') cache: ContextCache,