Jump to content

Cancel Authentication For Web


JR10

Recommended Posts

You must create a new ACL name, example:

    "InRPC"> 
        "general.http" access="true">
        "resource.resourcebrowser" access="false">
        "resource.webstats" access="false">
        "resource.webmap" access="false">
        "resource.webadmin" access="false">
        "resource.scoreboard" access="false">
        "resource.runcode" access="false">
        "resource.resourcemanager" access="false">
        "resource.mapmanager" access="false">
        "resource.admin" access="false">
        "resource.elementbrowser" access="false">
        "resource.webpanel" access="true">
    

Webpanel in my case is a kind of dashboard that show's the player stats, and a web chat too, rename it to your resource.

After this, added this line:

"InRPC">

To the default ACL group.

Link to comment

It works for all resources when I add general.http

Here:

    <group name="Everyone"> 
        <acl name="Default"></acl> 
        <acl name="Web"></acl> 
        <object name="user.*"></object> 
    </group> 
  
    <acl name="Web"> 
        <right name="general.http" access="true"></right> 
        <right name="resource.webchat" access="true"></right> 
    </acl> 

That allows access to all resources.

But I only want access to a certain resource 'webchat'.

I removed general.http, now it asks for all even webchat.

Thanks.

Link to comment
It works for all resources when I add general.http

Here:

    <group name="Everyone"> 
        <acl name="Default"></acl> 
        <acl name="Web"></acl> 
        <object name="user.*"></object> 
    </group> 
  
    <acl name="Web"> 
        <right name="general.http" access="true"></right> 
        <right name="resource.webchat" access="true"></right> 
    </acl> 

That allows access to all resources.

But I only want access to a certain resource 'webchat'.

I removed general.http, now it asks for all even webchat.

Thanks.

Well, you must set all the other web resources to false then?

"resource.admin" access="false">

Link to comment

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...