Name: [16.0][IMP] viin_document: Add Resource reference for document and workspace

State: Killed

PR State: open

PR Author: Trần Trường Sơn

PR Author Email:

PR: #2573

Committer: Soncrits

Committer Email: truongson290893@gmail.com

Commit: 9098364e2a018b3840771f8193e5ca546d96e7ae

Description:

                                            [FIX] viin_document*: acess right on document and workspace

Before commit:
- user cannot post message, log message to document if this document has
been generate by user

Solution:
- check access right on resource of workspace, Then assign corresponding
permissions on the document
- indentify workspace has been generator of attachment by
is_primary_workspace field
                                            

Branch: 16.0

Instance ID: 0

Age: Not started

Up-time: Not finished