~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/authorization.h

  • Committer: Brian Aker
  • Date: 2010-11-06 22:20:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1910.
  • Revision ID: brian@tangent.org-20101106222039-svjhoxtkw766w1bp
Additional io_cache encapsulation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
   * @returns true if the user cannot access the schema
57
57
   */
58
58
  virtual bool restrictSchema(const SecurityContext &user_ctx,
59
 
                              SchemaIdentifier::const_reference schema)= 0;
 
59
                              SchemaIdentifier &schema)= 0;
60
60
 
61
61
  /**
62
62
   * Should we restrict the current user's access to this table?
84
84
 
85
85
  /** Server API method for checking schema authorization */
86
86
  static bool isAuthorized(const SecurityContext &user_ctx,
87
 
                           SchemaIdentifier::const_reference schema_identifier,
 
87
                           SchemaIdentifier &schema_identifier,
88
88
                           bool send_error= true);
89
89
 
90
90
  /** Server API method for checking table authorization */
102
102
   * to a set of schema names (for use in the context of getSchemaNames
103
103
   */
104
104
  static void pruneSchemaNames(const SecurityContext &user_ctx,
105
 
                               SchemaIdentifier::vector &set_of_schemas);
 
105
                               SchemaIdentifiers &set_of_schemas);
106
106
  
107
107
  /**
108
108
   * Standard plugin system registration hooks