mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2018-05-07 Fred Gleason <fredg@paravelsystems.com>
* Added a 'USERS.WEBGET_LOGIN_PRIV' field to the database. * Incremented the database version to 277. * Added 'RDUser::webgetLogin()' and 'RDUser::setWebgetLogin()' methods. * Added a 'Allow WebGet Login' control in the 'Production Rights' section of the 'User' dialog in rdadmin(1).
This commit is contained in:
@@ -265,6 +265,19 @@ void RDUser::setEditAudio(bool priv) const
|
||||
}
|
||||
|
||||
|
||||
bool RDUser::webgetLogin() const
|
||||
{
|
||||
return RDBool(RDGetSqlValue("USERS","LOGIN_NAME",user_name,
|
||||
"WEBGET_LOGIN_PRIV").toString());
|
||||
}
|
||||
|
||||
|
||||
void RDUser::setWebgetLogin(bool priv) const
|
||||
{
|
||||
SetRow("WEBGET_LOGIN_PRIV",priv);
|
||||
}
|
||||
|
||||
|
||||
bool RDUser::createLog() const
|
||||
{
|
||||
return RDBool(RDGetSqlValue("USERS","LOGIN_NAME",user_name,
|
||||
|
Reference in New Issue
Block a user