mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where Non-admin user is unable to view shared server created using service. Fixes #6075
This commit is contained in:
committed by
Akshay Joshi
parent
18e4b30634
commit
1a756efe82
@@ -379,8 +379,7 @@ class SharedServer(db.Model):
|
||||
hostaddr = db.Column(db.String(128), nullable=True)
|
||||
port = db.Column(
|
||||
db.Integer(),
|
||||
db.CheckConstraint('port >= 1 AND port <= 65534'),
|
||||
nullable=False)
|
||||
nullable=True)
|
||||
maintenance_db = db.Column(db.String(64), nullable=True)
|
||||
username = db.Column(db.String(64), nullable=False)
|
||||
password = db.Column(db.String(64), nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user