-# coffeelint: disable=space_operators
-# coffeelint: disable=no_implicit_braces
-# coffeelint: disable=no_unnecessary_double_quotes
 jraphical = require 'jraphical'
 KodingError = require '../error'
 

    setSelectorStatus client, selector
    @some selector, options, callback

  @some$ = permit 'read tags', success: @_some

  # fix: having read activity permission here may lead to obscurity - SY
  @fetchCount = permit 'read activity',

        @delete_ => Relationship.remove { sourceId: @getId(), as: 'synonymOf' }, callback

      # check child topics and delete all
      Relationship.all { 'targetId': @getId() }, { 'as': 'synonymOf' }, (err, childTopicRels) =>
        return callback err if err
        unless childTopicRels?.length then @delete_ callback
        else
