Changes

Jump to navigation Jump to search
no edit summary
Line 85: Line 85:     
Only ''post'' type Post objects belong to a parent Post which guid should be specified in the ''topic'' property. The system design assumes only a two-level Posts hierarchy.
 
Only ''post'' type Post objects belong to a parent Post which guid should be specified in the ''topic'' property. The system design assumes only a two-level Posts hierarchy.
 +
 +
<div id="post-topic"></div>
 +
 +
'''Post.resolution'''
 +
 +
Post types ''question'', ''issue'', or, ''poll'' might have a resolution to expose the current status.
 +
 +
Resolutions for ''question'' Post objects:
 +
* ''takeback'', the question is taken back by the author;
 +
* Post guid which is a solution for the question.
 +
 +
Resolutions for ''issue'' Post objects:
 +
* ''new'', newly created issue;
 +
* ''needinfo'', posted information about the issue is insufficient, more details needed;
 +
* ''resolved'', the issue is resolved, closed;
 +
* ''unrelated'', the issue does not related to the Context, closed;
 +
* ''obsolete'', the issue is already solved in recent Context releases, closed;
 +
* ''duplicate'', the issue is a duplicate, closed.
 +
 +
Resolutions for ''poll'' Post objects:
 +
* ''open'', the poll is open for votes;
 +
* ''closed'', the poll is closed for votes.
 +
 +
Only the ''question'' and ''poll'' Post types allow changing resolution by the Post authors. Assigning resolution for ''issue'' type Posts is available for Context authors. Due to complex authority validations, setting resolution value can happen only via direct [[Sugar_Network/API#PUT-property|POST]] command.

Navigation menu