1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01:00

Make headless mode use the Stream ACL by default

This commit is contained in:
Jeff Mitchell 2012-06-18 11:35:52 -04:00
parent da17f467cf
commit fda615f0ab

View File

@ -167,7 +167,9 @@ ACLRegistry::isAuthorizedUser( const QString& dbid, const QString &username, ACL
user.knownAccountIds.append( username );
if ( globalType != ACLRegistry::NotFound )
user.acl = globalType;
#ifndef ENABLE_HEADLESS
#ifdef ENABLE_HEADLESS
user.acl = ACLRegistry::Stream;
#else
else
{
getUserDecision( user, username );