~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/simple_user_policy/policy.h

  • Committer: Brian Aker
  • Date: 2010-10-15 03:36:56 UTC
  • mfrom: (1843.7.6 refactor)
  • Revision ID: brian@tangent.org-20101015033656-9u3aptcc6ipoc1vj
This removes two of our dead plugins (the bad schedulers).
Also this fixes help messages to say "schema" instead of "database"
everywhere..

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
  { }
38
38
 
39
39
  virtual bool restrictSchema(const drizzled::SecurityContext &user_ctx,
40
 
                              drizzled::SchemaIdentifier::const_reference schema);
 
40
                              drizzled::SchemaIdentifier &db);
41
41
 
42
42
  virtual bool restrictProcess(const drizzled::SecurityContext &user_ctx,
43
43
                               const drizzled::SecurityContext &session_ctx);
44
44
};
45
45
 
46
46
inline bool Policy::restrictSchema(const drizzled::SecurityContext &user_ctx,
47
 
                                   drizzled::SchemaIdentifier::const_reference schema)
 
47
                                   drizzled::SchemaIdentifier &schema)
48
48
{
49
49
  if ((user_ctx.getUser() == "root")
50
50
      || schema.compare("data_dictionary")