aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-03-09 23:22:03 +0000
committerrowanbeentje <rowan@beent.je>2013-03-09 23:22:03 +0000
commit5f3881c0f03e6d103bb09a4fb8da525b761b40dc (patch)
tree73e424b2607d01025ed7673f12f6ee794f6ffe92 /Source/SPUserManager.h
parentc51d93d760b6ad47ac4256bdf564688cb9a5d2f8 (diff)
downloadsequelpro-5f3881c0f03e6d103bb09a4fb8da525b761b40dc.tar.gz
sequelpro-5f3881c0f03e6d103bb09a4fb8da525b761b40dc.tar.bz2
sequelpro-5f3881c0f03e6d103bb09a4fb8da525b761b40dc.zip
Tweak and improve the User Manager:
- Rework how data to populate the user manager is retrieved from the server, speeding up display of lots of users by a large factor - Fix support for schema permissions for the Anonymous user, and add support for '%' and '' hostnames (only showing if already set once), fixing Issue #1620 - Highlight databases in the user manager that have permissions set for the selected user - Switch to using the centrally provided database list to reduce queries and remove the information_schema and performance_schema "databases" - Speed up a number of operations by tweaking the logic and queries used
Diffstat (limited to 'Source/SPUserManager.h')
-rw-r--r--Source/SPUserManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPUserManager.h b/Source/SPUserManager.h
index b156cd4c..caa12776 100644
--- a/Source/SPUserManager.h
+++ b/Source/SPUserManager.h
@@ -33,6 +33,7 @@
@class SPServerSupport;
@class SPMySQLConnection;
@class SPSplitView;
+@class SPDatabaseDocument;
@interface SPUserManager : NSWindowController
{
@@ -50,7 +51,6 @@
IBOutlet NSTreeController *treeController;
IBOutlet NSMutableDictionary *privsSupportedByServer;
- IBOutlet NSArrayController *schemaController;
IBOutlet NSArrayController *grantedController;
IBOutlet NSArrayController *availableController;
@@ -82,6 +82,7 @@
}
@property (nonatomic, retain) SPMySQLConnection *connection;
+@property (nonatomic, assign) SPDatabaseDocument *databaseDocument;
@property (nonatomic, retain) SPServerSupport *serverSupport;
@property (nonatomic, retain) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;