Jump to content

Access denied to start resource


Krex

Recommended Posts

 I cant start resource on admin panel even though admin has right's, i keep getting this error

WARNING: [admin]/admin/server/admin_server.lua:1261: Access denied @ 'startResource'

WARNING: [admin]/admin/server/admin_server.lua:1262: Access denied @ 'restartResource'

WARNING: [admin]/admin/server/admin_server.lua:1263: Access denied @ 'stopResource'

Anyone please help me with this.

Link to post
16 minutes ago, LyricalMM said:

maybe you deleted the resource from ACL

No i didn't remove the resource. Here's my acl:

  </group>
    <group name="Admin">
        <acl name="Admin"></acl>
        <acl name="RPC"></acl>
        <acl name="VIP"></acl>
        <acl name="SuperModerator"></acl>
        <acl name="Moderator"></acl>
        <object name="resource.admin"></object>
        <object name="resource.webadmin"></object>
        <object name="user.kalmex"></object>

_____________________________________


    <acl name="Admin">
        <right name="general.ModifyOtherObjects" access="true"></right>
        <right name="general.http" access="true"></right>
        <right name="command.shutdown" access="true"></right>
        <right name="command.mods" access="true"></right>
        <right name="command.install" access="true"></right>
        <right name="command.aexec" access="true"></right>
        <right name="command.debugscript" access="true"></right>
        <right name="command.upgrade" access="true"></right>
        <right name="command.crun" access="true"></right>
        <right name="command.srun" access="true"></right>
        <right name="command.run" access="true"></right>
        <right name="command.aclrequest" access="true"></right>
        <right name="command.authserial" access="true"></right>
        <right name="command.reloadacl" access="true"></right>
        <right name="function.addBan" access="true"></right>
        <right name="function.setUnbanTime" access="true"></right>
        <right name="function.setBanAdmin" access="true"></right>
        <right name="function.setBanReason" access="true"></right>
        <right name="function.setBanNick" access="true"></right>
        <right name="function.removeBan" access="true"></right>
        <right name="function.reloadBans" access="true"></right>
        <right name="function.executeCommandHandler" access="true"></right>
        <right name="function.setServerPassword" access="true"></right>
        <right name="function.getServerPassword" access="true"></right>
        <right name="function.createResource" access="true"></right>
        <right name="function.copyResource" access="true"></right>
        <right name="function.addResourceMap" access="true"></right>
        <right name="function.addResourceConfig" access="true"></right>
        <right name="function.removeResourceFile" access="true"></right>
        <right name="function.setResourceDefaultSetting" access="true"></right>
        <right name="function.removeResourceDefaultSetting" access="true"></right>
        <right name="function.aclReload" access="true"></right>
        <right name="function.aclSave" access="true"></right>
        <right name="function.aclCreate" access="true"></right>
        <right name="function.aclDestroy" access="true"></right>
        <right name="function.aclSetRight" access="true"></right>
        <right name="function.aclRemoveRight" access="true"></right>
        <right name="function.aclCreateGroup" access="true"></right>
        <right name="function.aclDestroyGroup" access="true"></right>
        <right name="function.aclGroupAddACL" access="true"></right>
        <right name="function.aclGroupRemoveACL" access="true"></right>
        <right name="function.aclGroupAddObject" access="true"></right>
        <right name="function.aclGroupRemoveObject" access="true"></right>
        <right name="function.refreshResources" access="true"></right>
        <right name="function.setServerConfigSetting" access="true"></right>
        <right name="function.updateResourceACLRequest" access="true"></right>
        <right name="function.shutdown" access="true"></right>
        <right name="general.adminpanel" access="true"></right>
        <right name="general.tab_players" access="true"></right>
        <right name="general.tab_resources" access="true"></right>
        <right name="general.tab_maps" access="true"></right>
        <right name="general.tab_server" access="true"></right>
        <right name="general.tab_bans" access="true"></right>
        <right name="general.tab_adminchat" access="true"></right>
        <right name="command.kick" access="true"></right>
        <right name="command.freeze" access="true"></right>
        <right name="command.mute" access="true"></right>
        <right name="command.setnick" access="true"></right>
        <right name="command.shout" access="true"></right>
        <right name="command.spectate" access="true"></right>
        <right name="command.slap" access="true"></right>
        <right name="command.setgroup" access="true"></right>
        <right name="command.sethealth" access="true"></right>
        <right name="command.setarmour" access="true"></right>
        <right name="command.setmoney" access="true"></right>
        <right name="command.setskin" access="true"></right>
        <right name="command.setteam" access="true"></right>
        <right name="command.giveweapon" access="true"></right>
        <right name="command.setstat" access="true"></right>
        <right name="command.jetpack" access="true"></right>
        <right name="command.warp" access="true"></right>
        <right name="command.setdimension" access="true"></right>
        <right name="command.setinterior" access="true"></right>
        <right name="command.createteam" access="true"></right>
        <right name="command.destroyteam" access="true"></right>
        <right name="command.givevehicle" access="true"></right>
        <right name="command.repair" access="true"></right>
        <right name="command.blowvehicle" access="true"></right>
        <right name="command.destroyvehicle" access="true"></right>
        <right name="command.customize" access="true"></right>
        <right name="command.setcolor" access="true"></right>
        <right name="command.setpaintjob" access="true"></right>
        <right name="command.listmessages" access="true"></right>
        <right name="command.readmessage" access="true"></right>
        <right name="command.listresources" access="true"></right>
        <right name="command.start" access="true"></right>
        <right name="command.stop" access="true"></right>
        <right name="command.stopall" access="false"></right>
        <right name="command.delete" access="true"></right>
        <right name="command.restart" access="true"></right>
        <right name="command.execute" access="true"></right>
        <right name="command.setpassword" access="true"></right>
        <right name="command.setwelcome" access="true"></right>
        <right name="command.setgame" access="true"></right>
        <right name="command.setmap" access="true"></right>
        <right name="command.setweather" access="true"></right>
        <right name="command.blendweather" access="true"></right>
        <right name="command.setblurlevel" access="true"></right>
        <right name="command.setwaveheight" access="true"></right>
        <right name="command.setskygradient" access="true"></right>
        <right name="command.setgamespeed" access="true"></right>
        <right name="command.setgravity" access="true"></right>
        <right name="command.settime" access="true"></right>
        <right name="command.setfpslimit" access="true"></right>
        <right name="command.ban" access="true"></right>
        <right name="command.unban" access="true"></right>
        <right name="command.banip" access="true"></right>
        <right name="command.unbanip" access="true"></right>
        <right name="command.banserial" access="true"></right>
        <right name="command.unbanserial" access="true"></right>
        <right name="command.listbans" access="true"></right>
        <right name="function.addaccount" access="true"></right>

    <right name="general.tab_resource" access="true"></right>
        <right name="command.startresource" access="true"></right>
    </acl>

Edited by Krex
Link to post

It happened to me once, Take the go to [admin] and open the meta.xml file, add 

<meta>
    .... 
    <aclrequest>        
        <right name="general.ModifyOtherObjects" access="true"/>
        <right name="general.http" access="true"/>
        <right name="command.shutdown" access="true"/>
        <right name="command.mods" access="true"/>
        <right name="command.install" access="true"/>
        <right name="command.aexec" access="true"/>
        <right name="command.debugscript" access="true"/>
        <right name="command.upgrade" access="true"/>
        <right name="command.crun" access="true"/>
        <right name="command.srun" access="true"/>
        <right name="command.run" access="true"/>
        <right name="command.aclrequest" access="true"/>
        <right name="command.authserial" access="true"/>
        <right name="command.reloadacl" access="true"/>
        <right name="function.addBan" access="true"/>
        <right name="function.setUnbanTime" access="true"/>
        <right name="function.setBanAdmin" access="true"/>
        <right name="function.setBanReason" access="true"/>
        <right name="function.setBanNick" access="true"/>
        <right name="function.removeBan" access="true"/>
        <right name="function.reloadBans" access="true"/>
        <right name="function.executeCommandHandler" access="true"/>
        <right name="function.setServerPassword" access="true"/>
        <right name="function.getServerPassword" access="true"/>
        <right name="function.createResource" access="true"/>
        <right name="function.copyResource" access="true"/>
        <right name="function.addResourceMap" access="true"/>
        <right name="function.addResourceConfig" access="true"/>
        <right name="function.removeResourceFile" access="true"/>
        <right name="function.setResourceDefaultSetting" access="true"/>
        <right name="function.removeResourceDefaultSetting" access="true"/>
        <right name="function.aclReload" access="true"/>
        <right name="function.aclSave" access="true"/>
        <right name="function.aclCreate" access="true"/>
        <right name="function.aclDestroy" access="true"/>
        <right name="function.aclSetRight" access="true"/>
        <right name="function.aclRemoveRight" access="true"/>
        <right name="function.aclCreateGroup" access="true"/>
        <right name="function.aclDestroyGroup" access="true"/>
        <right name="function.aclGroupAddACL" access="true"/>
        <right name="function.aclGroupRemoveACL" access="true"/>
        <right name="function.aclGroupAddObject" access="true"/>
        <right name="function.aclGroupRemoveObject" access="true"/>
        <right name="function.refreshResources" access="true"/>
        <right name="function.setServerConfigSetting" access="true"/>
        <right name="function.updateResourceACLRequest" access="true"/>
        <right name="function.shutdown" access="true"/>
        <right name="general.adminpanel" access="true"/>
        <right name="general.tab_players" access="true"/>
        <right name="general.tab_resources" access="true"/>
        <right name="general.tab_maps" access="true"/>
        <right name="general.tab_server" access="true"/>
        <right name="general.tab_bans" access="true"/>
        <right name="general.tab_adminchat" access="true"/>
        <right name="command.kick" access="true"/>
        <right name="command.freeze" access="true"/>
        <right name="command.mute" access="true"/>
        <right name="command.setnick" access="true"/>
        <right name="command.shout" access="true"/>
        <right name="command.spectate" access="true"/>
        <right name="command.slap" access="true"/>
        <right name="command.setgroup" access="true"/>
        <right name="command.sethealth" access="true"/>
        <right name="command.setarmour" access="true"/>
        <right name="command.setmoney" access="true"/>
        <right name="command.setskin" access="true"/>
        <right name="command.setteam" access="true"/>
        <right name="command.giveweapon" access="true"/>
        <right name="command.setstat" access="true"/>
        <right name="command.jetpack" access="true"/>
        <right name="command.warp" access="true"/>
        <right name="command.setdimension" access="true"/>
        <right name="command.setinterior" access="true"/>
        <right name="command.createteam" access="true"/>
        <right name="command.destroyteam" access="true"/>
        <right name="command.givevehicle" access="true"/>
        <right name="command.repair" access="true"/>
        <right name="command.blowvehicle" access="true"/>
        <right name="command.destroyvehicle" access="true"/>
        <right name="command.customize" access="true"/>
        <right name="command.setcolor" access="true"/>
        <right name="command.setpaintjob" access="true"/>
        <right name="command.listmessages" access="true"/>
        <right name="command.readmessage" access="true"/>
        <right name="command.listresources" access="true"/>
        <right name="command.start" access="true"/>
        <right name="command.stop" access="true"/>
        <right name="command.stopall" access="false"/>
        <right name="command.delete" access="true"/>
        <right name="command.restart" access="true"/>
        <right name="command.execute" access="true"/>
        <right name="command.setpassword" access="true"/>
        <right name="command.setwelcome" access="true"/>
        <right name="command.setgame" access="true"/>
        <right name="command.setmap" access="true"/>
        <right name="command.setweather" access="true"/>
        <right name="command.blendweather" access="true"/>
        <right name="command.setblurlevel" access="true"/>
        <right name="command.setwaveheight" access="true"/>
        <right name="command.setskygradient" access="true"/>
        <right name="command.setgamespeed" access="true"/>
        <right name="command.setgravity" access="true"/>
        <right name="command.settime" access="true"/>
        <right name="command.setfpslimit" access="true"/>
        <right name="command.ban" access="true"/>
        <right name="command.unban" access="true"/>
        <right name="command.banip" access="true"/>
        <right name="command.unbanip" access="true"/>
        <right name="command.banserial" access="true" />
        <right name="command.unbanserial" access="true" />
        <right name="command.listbans" access="true" />
        <right name="function.addaccount" access="true" />
    </aclrequest>
</meta>

Then start the script, it will say that the scripts need acl approvment, write in console:

aclrequest allow admin all

Try it, it should work.

Link to post
On 21/11/2018 at 23:27, R.I.P Logic said:

It happened to me once, Take the go to [admin] and open the meta.xml file, add 


<meta>
    .... 
    <aclrequest>        
        <right name="general.ModifyOtherObjects" access="true"/>
        <right name="general.http" access="true"/>
        <right name="command.shutdown" access="true"/>
        <right name="command.mods" access="true"/>
        <right name="command.install" access="true"/>
        <right name="command.aexec" access="true"/>
        <right name="command.debugscript" access="true"/>
        <right name="command.upgrade" access="true"/>
        <right name="command.crun" access="true"/>
        <right name="command.srun" access="true"/>
        <right name="command.run" access="true"/>
        <right name="command.aclrequest" access="true"/>
        <right name="command.authserial" access="true"/>
        <right name="command.reloadacl" access="true"/>
        <right name="function.addBan" access="true"/>
        <right name="function.setUnbanTime" access="true"/>
        <right name="function.setBanAdmin" access="true"/>
        <right name="function.setBanReason" access="true"/>
        <right name="function.setBanNick" access="true"/>
        <right name="function.removeBan" access="true"/>
        <right name="function.reloadBans" access="true"/>
        <right name="function.executeCommandHandler" access="true"/>
        <right name="function.setServerPassword" access="true"/>
        <right name="function.getServerPassword" access="true"/>
        <right name="function.createResource" access="true"/>
        <right name="function.copyResource" access="true"/>
        <right name="function.addResourceMap" access="true"/>
        <right name="function.addResourceConfig" access="true"/>
        <right name="function.removeResourceFile" access="true"/>
        <right name="function.setResourceDefaultSetting" access="true"/>
        <right name="function.removeResourceDefaultSetting" access="true"/>
        <right name="function.aclReload" access="true"/>
        <right name="function.aclSave" access="true"/>
        <right name="function.aclCreate" access="true"/>
        <right name="function.aclDestroy" access="true"/>
        <right name="function.aclSetRight" access="true"/>
        <right name="function.aclRemoveRight" access="true"/>
        <right name="function.aclCreateGroup" access="true"/>
        <right name="function.aclDestroyGroup" access="true"/>
        <right name="function.aclGroupAddACL" access="true"/>
        <right name="function.aclGroupRemoveACL" access="true"/>
        <right name="function.aclGroupAddObject" access="true"/>
        <right name="function.aclGroupRemoveObject" access="true"/>
        <right name="function.refreshResources" access="true"/>
        <right name="function.setServerConfigSetting" access="true"/>
        <right name="function.updateResourceACLRequest" access="true"/>
        <right name="function.shutdown" access="true"/>
        <right name="general.adminpanel" access="true"/>
        <right name="general.tab_players" access="true"/>
        <right name="general.tab_resources" access="true"/>
        <right name="general.tab_maps" access="true"/>
        <right name="general.tab_server" access="true"/>
        <right name="general.tab_bans" access="true"/>
        <right name="general.tab_adminchat" access="true"/>
        <right name="command.kick" access="true"/>
        <right name="command.freeze" access="true"/>
        <right name="command.mute" access="true"/>
        <right name="command.setnick" access="true"/>
        <right name="command.shout" access="true"/>
        <right name="command.spectate" access="true"/>
        <right name="command.slap" access="true"/>
        <right name="command.setgroup" access="true"/>
        <right name="command.sethealth" access="true"/>
        <right name="command.setarmour" access="true"/>
        <right name="command.setmoney" access="true"/>
        <right name="command.setskin" access="true"/>
        <right name="command.setteam" access="true"/>
        <right name="command.giveweapon" access="true"/>
        <right name="command.setstat" access="true"/>
        <right name="command.jetpack" access="true"/>
        <right name="command.warp" access="true"/>
        <right name="command.setdimension" access="true"/>
        <right name="command.setinterior" access="true"/>
        <right name="command.createteam" access="true"/>
        <right name="command.destroyteam" access="true"/>
        <right name="command.givevehicle" access="true"/>
        <right name="command.repair" access="true"/>
        <right name="command.blowvehicle" access="true"/>
        <right name="command.destroyvehicle" access="true"/>
        <right name="command.customize" access="true"/>
        <right name="command.setcolor" access="true"/>
        <right name="command.setpaintjob" access="true"/>
        <right name="command.listmessages" access="true"/>
        <right name="command.readmessage" access="true"/>
        <right name="command.listresources" access="true"/>
        <right name="command.start" access="true"/>
        <right name="command.stop" access="true"/>
        <right name="command.stopall" access="false"/>
        <right name="command.delete" access="true"/>
        <right name="command.restart" access="true"/>
        <right name="command.execute" access="true"/>
        <right name="command.setpassword" access="true"/>
        <right name="command.setwelcome" access="true"/>
        <right name="command.setgame" access="true"/>
        <right name="command.setmap" access="true"/>
        <right name="command.setweather" access="true"/>
        <right name="command.blendweather" access="true"/>
        <right name="command.setblurlevel" access="true"/>
        <right name="command.setwaveheight" access="true"/>
        <right name="command.setskygradient" access="true"/>
        <right name="command.setgamespeed" access="true"/>
        <right name="command.setgravity" access="true"/>
        <right name="command.settime" access="true"/>
        <right name="command.setfpslimit" access="true"/>
        <right name="command.ban" access="true"/>
        <right name="command.unban" access="true"/>
        <right name="command.banip" access="true"/>
        <right name="command.unbanip" access="true"/>
        <right name="command.banserial" access="true" />
        <right name="command.unbanserial" access="true" />
        <right name="command.listbans" access="true" />
        <right name="function.addaccount" access="true" />
    </aclrequest>
</meta>

Then start the script, it will say that the scripts need acl approvment, write in console:


aclrequest allow admin all

Try it, it should work.

Ok thank you, it works well now.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...