mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 23:57:34 +02:00
Make headless mode use the Stream ACL by default
This commit is contained in:
@@ -167,7 +167,9 @@ ACLRegistry::isAuthorizedUser( const QString& dbid, const QString &username, ACL
|
|||||||
user.knownAccountIds.append( username );
|
user.knownAccountIds.append( username );
|
||||||
if ( globalType != ACLRegistry::NotFound )
|
if ( globalType != ACLRegistry::NotFound )
|
||||||
user.acl = globalType;
|
user.acl = globalType;
|
||||||
#ifndef ENABLE_HEADLESS
|
#ifdef ENABLE_HEADLESS
|
||||||
|
user.acl = ACLRegistry::Stream;
|
||||||
|
#else
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getUserDecision( user, username );
|
getUserDecision( user, username );
|
||||||
|
Reference in New Issue
Block a user