Merge pull request #738 from icetrain/master
Add missing onlyif_function to sequence grant code
This commit is contained in:
commit
8464e33222
1 changed files with 3 additions and 1 deletions
|
@ -96,11 +96,13 @@ define postgresql::server::grant (
|
|||
validate_string($unless_privilege,'USAGE','ALL','ALL PRIVILEGES')
|
||||
$unless_function = 'has_sequence_privilege'
|
||||
$on_db = $db
|
||||
$onlyif_function = undef
|
||||
}
|
||||
'ALL SEQUENCES IN SCHEMA': {
|
||||
validate_string($_privilege,'USAGE','ALL','ALL PRIVILEGES')
|
||||
$unless_function = 'custom'
|
||||
$on_db = $db
|
||||
$onlyif_function = undef
|
||||
|
||||
$schema = $object_name
|
||||
|
||||
|
|
Loading…
Reference in a new issue