~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/authorization.h

  • Committer: Brian Aker
  • Date: 2010-03-31 05:53:34 UTC
  • Revision ID: brian@gaz-20100331055334-yqqmzlgqb2xq1p5b
Mass overhaul to use schema_identifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
  /** Server API method for checking schema authorization */
87
87
  static bool isAuthorized(const SecurityContext &user_ctx,
88
 
                           const std::string &schema,
 
88
                           SchemaIdentifier &schema_identifier,
89
89
                           bool send_error= true);
90
90
 
91
91
  /** Server API method for checking table authorization */
104
104
   * to a set of schema names (for use in the context of getSchemaNames
105
105
   */
106
106
  static void pruneSchemaNames(const SecurityContext &user_ctx,
107
 
                               std::set<std::string> &set_of_names);
 
107
                               SchemaIdentifierList &set_of_schemas);
108
108
  
109
109
  /**
110
110
   * Standard plugin system registration hooks