~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/authorization.cc

  • Committer: Brian Aker
  • Date: 2011-01-17 04:15:23 UTC
  • mto: (2088.1.3 merge)
  • mto: This revision was merged to the branch mainline in revision 2089.
  • Revision ID: brian@gir-3-20110117041523-o9ex94kfz1a6iqyw
Modify TableIdentifier to fit with the rest of the identifiers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
  public std::unary_function<plugin::Authorization *, bool>
80
80
{
81
81
  const identifier::User &user_ctx;
82
 
  TableIdentifier &table;
 
82
  identifier::Table &table;
83
83
public:
84
84
  RestrictTableFunctor(const identifier::User &user_ctx_arg,
85
 
                       TableIdentifier &table_arg) :
 
85
                       identifier::Table &table_arg) :
86
86
    std::unary_function<plugin::Authorization *, bool>(),
87
87
    user_ctx(user_ctx_arg),
88
88
    table(table_arg)
169
169
}
170
170
 
171
171
bool plugin::Authorization::isAuthorized(drizzled::identifier::User::const_shared_ptr user_ctx,
172
 
                                         TableIdentifier &table,
 
172
                                         identifier::Table &table,
173
173
                                         bool send_error)
174
174
{
175
175
  /* If we never loaded any authorization plugins, just return true */