Searched refs:db_restrictions (Results 1 – 5 of 5) sorted by relevance
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/auth/ |
H A D | partial_revokes.h | 85 db_revocations &operator()(void) { return db_restrictions(); } in operator() 108 db_revocations &db_restrictions() { return m_restrictions; } in db_restrictions() function 136 void set_db(const DB_restrictions &db_restrictions); 302 void aggregate(DB_restrictions &db_restrictions) override;
|
H A D | partial_revokes.cc | 620 DB_restrictions *db_restrictions = in generate() local 622 DBUG_ASSERT(db_restrictions); in generate() 625 aggregate(*db_restrictions); in generate() 950 DB_restrictions &db_restrictions) { in aggregate() argument 979 aggregate_restrictions(SQL_OP::SET_ROLE, m_db_map, db_restrictions); in aggregate() 1494 void Restrictions::set_db(const DB_restrictions &db_restrictions) { in set_db() argument 1495 m_db_restrictions = db_restrictions; in set_db()
|
H A D | acl_table_user.cc | 223 DB_restrictions &db_restrictions, ulong mask, enum loglevel level, 288 DB_restrictions &db_restrictions, ulong mask, enum loglevel level, in report_and_remove_invalid_db_restrictions() argument 290 for (auto &itr : db_restrictions()) { in report_and_remove_invalid_db_restrictions() 298 db_restrictions.remove(itr.first.c_str(), filtered_privs); in report_and_remove_invalid_db_restrictions() 319 db_restrictions.remove(0); in report_and_remove_invalid_db_restrictions() 385 DB_restrictions db_restrictions(nullptr); in deserialize() local 386 if (db_restrictions.add(json_object)) return true; in deserialize() 389 db_restrictions, DB_OP_ACLS, WARNING_LEVEL, in deserialize() 391 report_and_remove_invalid_db_restrictions(db_restrictions, m_global_privs, in deserialize() 394 m_restrictions.set_db(db_restrictions); in deserialize()
|
H A D | sql_security_ctx.cc | 1107 auto &db_restrictions = m_restrictions.db(); in filter_access() local 1108 if (db_restrictions.is_not_empty()) { in filter_access() 1110 if (db_restrictions.find(db_name, restrictions_mask)) in filter_access()
|
H A D | sql_authorization.cc | 1615 DB_restrictions db_restrictions(nullptr); in discover_vertex() local 1616 if (aggregator->generate(db_restrictions)) return; in discover_vertex() 1617 m_restrictions->set_db(db_restrictions); in discover_vertex() 3416 DB_restrictions db_restrictions(nullptr); in mysql_grant() local 3423 if (aggregator->generate(db_restrictions)) { in mysql_grant() 3427 restrictions.set_db(db_restrictions); in mysql_grant() 5069 DB_restrictions db_restrictions(nullptr); in mysql_revoke_all() local 5075 if (aggregator->generate(db_restrictions)) { in mysql_revoke_all() 5082 restrictions.set_db(db_restrictions); in mysql_revoke_all()
|