~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/authorization.h

  • Committer: Lee Bieber
  • Date: 2010-11-20 01:33:21 UTC
  • mfrom: (1878.10.4 drizzle_bug665252)
  • Revision ID: kalebral@gmail.com-20101120013321-7nk9lq4nnr20zk6b
Merge Billy - removed my_getsysdate, my_micro_time and my_micro_time_and_time and replaced with boost::date_time for compatibility.

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