Home
last modified time | relevance | path

Searched refs:PRIVILEGE_READ (Results 1 – 3 of 3) sorted by relevance

/dports/net-mgmt/librenms/librenms-vendor-21.5.1/influxdb/influxdb-php/tests/unit/
H A DAdminTest.php98 $resultSet = $adminClient->grant(Admin::PRIVILEGE_READ, 'smith', 'example_db');
114 $resultSet = $adminClient->revoke(Admin::PRIVILEGE_READ, 'smith', 'example_db');
156 $adminClient->revoke(Admin::PRIVILEGE_READ, 'smith', null);
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/influxdb/influxdb-php/src/InfluxDB/Client/
H A DAdmin.php24 const PRIVILEGE_READ = 'READ'; define in InfluxDB\\Client\\Admin
133 …if (!in_array($privilege, [self::PRIVILEGE_READ, self::PRIVILEGE_WRITE, self::PRIVILEGE_ALL], true…
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/influxdb/influxdb-php/
H A DREADME.md318 $client->admin->grant(\InfluxDB\Client\Admin::PRIVILEGE_READ, 'testuser123', $database);
321 $client->admin->grant(\InfluxDB\Client\Admin::PRIVILEGE_READ, 'testuser123', 'test_db');
324 $client->admin->revoke(\InfluxDB\Client\Admin::PRIVILEGE_READ, 'testuser123', 'test_db');
327 $client->admin->grant(\InfluxDB\Client\Admin::PRIVILEGE_READ, 'testuser123');