~ubuntu-branches/debian/squeeze/pgadmin3/squeeze

« back to all changes in this revision

Viewing changes to src/dlg/dlgRole.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Enrici, src/frm/frmBackup.cpp, debian/control
  • Date: 2006-10-06 21:06:48 UTC
  • mfrom: (1.1.3 upstream) (3 etch)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20061006210648-8ebo8o2zu28ydg0d
Tags: 1.4.3-2
* Patched frmBackup.cpp to ensure the schema is specified when backing up
  individual tables. (Closes: #387256)
  [src/frm/frmBackup.cpp]
* Cleaned up and updated description of the package. (Closes: #379188)
  [debian/control]

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
            wxT("   AND roleid IS NULL");
125
125
 
126
126
        // Edit Mode
127
 
        readOnly=!role->GetServer()->GetSuperUser();
 
127
        if (role->GetServer()->GetSuperUser() || role->GetServer()->GetCreateRole()) 
 
128
                        readOnly=false;
 
129
                else
 
130
                        readOnly=true;
128
131
 
129
132
        chkCreateDB->SetValue(role->GetCreateDatabase());
130
133
        chkCreateRole->SetValue(role->GetCreateRole());