fix: resolve #311

This commit is contained in:
Jean-Baptiste Pasquier 2019-12-10 11:52:39 +01:00
parent 2a42821001
commit a7a5555ad3
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
2 changed files with 28 additions and 28 deletions

View File

@ -38,6 +38,7 @@ div.content-box__info
sib-link(class="backlink", bind-resources, next='circle-profile') Back
sib-ac-checker(permission='acl:Write', bind-resources)
h1 Edit your circle
sib-form.block.circle-edit-form(
@ -63,8 +64,7 @@ div.content-box__info
h2 Members list
//- TODO: sib-ac-checker unworking - https://git.happy-dev.fr/startinblox/framework/sib-core/issues/517
//- sib-ac-checker(permission='acl:Write', bind-resources, nested-field='team')
sib-ac-checker(permission='acl:Append', bind-resources, nested-field='team')
sib-form.block.team-form(
bind-resources
nested-field='members'

View File

@ -15,7 +15,7 @@ sib-router(default-route='circle-profile', hidden)
widget-creationDate='sib-display-date'
)
sib-ac-checker.testblock.circle-edit-button(permission='acl:Write', bind-resources)
sib-ac-checker.testblock.circle-edit-button(permission='acl:Append', bind-resources, nested-field='members')
sib-link(class='button text-bold text-uppercase reversed button-blue bordered with-icon icon-pencil' next='circle-edit' bind-resources) Edit and add Members