~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/authorization.h

  • Committer: Monty Taylor
  • Date: 2010-12-16 00:11:51 UTC
  • mto: (1999.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2000.
  • Revision ID: mordred@inaugust.com-20101216001151-kffm265hocioqtdk
Add error message data dictionary table.

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 */