mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[auth] Remove Authentication action from Settings menu
This commit is contained in:
parent
ee5e120627
commit
b6459b06f1
@ -563,7 +563,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
|
||||
QgsAuthManager::instance()->init( QgsApplication::pluginPath() );
|
||||
if ( QgsAuthManager::instance()->isDisabled() )
|
||||
{
|
||||
mActionAuthentication->setEnabled( false );
|
||||
QMessageBox::warning( this, tr( "Authentication System" ),
|
||||
QgsAuthManager::instance()->disabledMessage() + "\n\n" +
|
||||
tr( "Resources authenticating via the system can not be accessed." ) );
|
||||
@ -1252,8 +1251,6 @@ void QgisApp::createActions()
|
||||
connect( mActionExit, SIGNAL( triggered() ), this, SLOT( fileExit() ) );
|
||||
connect( mActionDxfExport, SIGNAL( triggered() ), this, SLOT( dxfExport() ) );
|
||||
|
||||
connect( mActionAuthentication, SIGNAL( triggered() ), this, SLOT( editAuthenticationConfigs() ) );
|
||||
|
||||
// Edit Menu Items
|
||||
|
||||
connect( mActionUndo, SIGNAL( triggered() ), mUndoWidget, SLOT( undo() ) );
|
||||
@ -10646,11 +10643,6 @@ void QgisApp::masterPasswordSetup()
|
||||
this, SLOT( eraseAuthenticationDatabase() ) );
|
||||
}
|
||||
|
||||
void QgisApp::editAuthenticationConfigs()
|
||||
{
|
||||
showOptionsDialog( this, QString( "mOptionsPageAuth" ) );
|
||||
}
|
||||
|
||||
void QgisApp::eraseAuthenticationDatabase()
|
||||
{
|
||||
// First check if now is a good time to interact with the user, e.g. project is done loading.
|
||||
|
@ -620,9 +620,6 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
|
||||
#endif
|
||||
void namRequestTimedOut( QNetworkReply *reply );
|
||||
|
||||
//! Open authentication configs editor (in Options)
|
||||
void editAuthenticationConfigs();
|
||||
|
||||
//! Schedule and erase of the authentication database upon confirmation
|
||||
void eraseAuthenticationDatabase();
|
||||
|
||||
|
@ -218,7 +218,6 @@
|
||||
<addaction name="mActionConfigureShortcuts"/>
|
||||
<addaction name="mActionCustomization"/>
|
||||
<addaction name="mActionOptions"/>
|
||||
<addaction name="mActionAuthentication"/>
|
||||
<addaction name="mActionSnappingOptions"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="mRasterMenu">
|
||||
@ -2377,15 +2376,6 @@ Acts on currently active editable layer</string>
|
||||
<string>Add circular string by radius</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="mActionAuthentication">
|
||||
<property name="icon">
|
||||
<iconset resource="../../images/images.qrc">
|
||||
<normaloff>:/images/themes/default/locked.svg</normaloff>:/images/themes/default/locked.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Authentication...</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../../images/images.qrc"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user