text: // Generated by LiveScript 1.2.0
  (function(){
    var User;
    User = require('../fixtures').User;
    module.exports = {
      empty: function(){
        return {};
      },
      defaultAction: function(){
        return 'read';
      },
      defaultUser: function(){
        return new User({
          name: 'kris'
        });
      },
      roleAccess: function(role){
        return {
          user: {
            role: role
          },
          action: this.defaultAction()
        };
      },
      userAccess: function(user){
        return {
          user: user,
          action: this.defaultAction()
        };
      },
      actionAccess: function(action){
        return {
          user: this.defaultUser(),
          action: action
        };
      },
      subjectAccess: function(subject){
        return {
          user: this.defaultUser(),
          subject: subject,
          action: this.defaultAction()
        };
      },
      ctxAccess: function(ctx){
        return {
          user: this.defaultUser(),
          action: this.defaultAction(),
          ctx: ctx
        };
      },
      contextAccess: function(ctx){
        return this.ctxAccess(ctx);
      }
    };
  }).call(this);
  