JR10 Posted November 7, 2011 Share Posted November 7, 2011 I don't know much about the Web Interface, but I made a simple web chat resource. But it asks for authentication, I don't want that, I want normal players to be able to access it. Thanks in advance. Link to comment
Castillo Posted November 7, 2011 Share Posted November 7, 2011 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
JR10 Posted November 7, 2011 Author Share Posted November 7, 2011 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
Castillo Posted November 7, 2011 Share Posted November 7, 2011 It works for all resources when I add general.httpHere: <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
JR10 Posted November 8, 2011 Author Share Posted November 8, 2011 It worked as allowing general.http, and disallowing the resources I don't want them to access. Thanks. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now