         kallback name, slug
 
 
+  notifyUsers = (options, callback) ->
+
+    { nickname, workspace, uid, eventName } = options
+
+    JMachine.one { uid }, (err, machine) ->
+
+      return callback err  if err
+
+      users = machine.users.filter (user) -> return user.username isnt nickname
+      users = users.map (user) -> return user.username
+
+      if users.length
+        { notifyByUsernames } = require './notify'
+        notifyByUsernames users, eventName, workspace
+
+      return callback null, workspace
+
+
   generateUniqueName = ({ originId, machineUId, name, index }, callback) ->
 
     slug = if index? then "#{name}-#{index}" else name


        @emit 'messageBusEvent', { type: 'social.workspace_created', message: message }

        return callback null, workspace

    if data.isDefault
    then kallback data.name, data.slug


  @deleteById = secure (client, id, callback) ->

    delegate   = client.connection.delegate
    selector   =
      originId : delegate._id
      _id      : ObjectId id

    JWorkspace.one selector, (err, ws) ->
