 
   , (client, callback) ->
 
-    { r: { user } } = client
+    { r: { user, group } } = client
 
     # An owner cannot approve their own machine
     if isOwner user, this

      permanent : yes

    @shareWith options, (err) =>
      options               = { action: 'deny', @uid, group: client?.context?.group, machineId: @getId() }
      [ owner ]             = @users.filter (user) -> return user.owner
      { notifyByUsernames } = require '../notify'



  , (client, callback) ->

    { r: { user, group } } = client

    # An owner cannot deny their own machine
    if isOwner user, this
