mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Resolved few intialization issue with Node model data, moved the
privileges functionality out of the backform.pgadmin.js to make it more
modular. Now - privileges will expect the privileges data in following
format:
<name_of_the_property> : [{
"privileges": [{
"privilege_type": <privilege_type>,
"privilege": true,
"with_grant": false
},
...
],
"grantee": <grantee>,
"grantor": <grantor>
},
...
]
Example:
acl": [{
"privileges": [{
"privilege_type": "CONNECT",
"privilege": true,
"with_grant": false
}],
"grantee": '',
"grantor": 'ashesh'
},{
"privileges": [{
"privilege_type": "CREATE",
"privilege": true,
"with_grant": false
},{
"privilege": true,
"privilege_type": "TEMPORARY",
"with_grant": false
}],
"grantee": test,
"grantor": ashesh
}]
This commit is contained in:
@@ -492,7 +492,11 @@ fieldset[disabled] .form-control {
|
||||
}
|
||||
|
||||
.backgrid td.renderable:not(.editable):not(.delete-cell) {
|
||||
background-color: #eee;
|
||||
background-color: #F1F1F1;
|
||||
}
|
||||
|
||||
.backgrid tr.header td.renderable:not(.editable):not(.delete-cell) {
|
||||
background-color: #AAA;
|
||||
}
|
||||
|
||||
.subnode-header {
|
||||
@@ -583,3 +587,11 @@ table.backgrid tr.new {
|
||||
.switch-cell {
|
||||
height: 0px; width: 0px;
|
||||
}
|
||||
|
||||
.width_percent_40 {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.width_percent_60 {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user