mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
refs #751, hint of how data are published
* user object in stash components * publish button text changed to reflect user`s rights * User object in form read only
This commit is contained in:
committed by
Roland Winklmeier
parent
23ccb35ed8
commit
7330ccba1b
@@ -54,11 +54,11 @@ namespace BlackGui
|
||||
bool isReadOnly() const { return m_readOnly; }
|
||||
|
||||
//! Authenticated DB user
|
||||
const BlackMisc::Network::CAuthenticatedUser &getSwiftDbUser() const;
|
||||
BlackMisc::Network::CAuthenticatedUser getSwiftDbUser() const;
|
||||
|
||||
protected:
|
||||
bool m_readOnly = false; //!< read only
|
||||
BlackMisc::CData<BlackCore::Data::TAuthenticatedDbUser> m_swiftDbUser {this, &CForm::ps_userChanged}; //!< authenticated user
|
||||
BlackMisc::CDataReadOnly<BlackCore::Data::TAuthenticatedDbUser> m_swiftDbUser {this, &CForm::ps_userChanged}; //!< authenticated user
|
||||
|
||||
protected slots:
|
||||
//! User has been changed
|
||||
|
||||
Reference in New Issue
Block a user