Extension talk:SemanticAccessControl
| This revision was originally made using the LiquidThreads extension and then later converted to the Structured Discussions extension. Both of these have since been deprecated. The revision was later exported to wikitext, however the export process was not perfect so the content seen here is only an approximation of how the page looked at the time. |
Installation
"Finally, upload pages under 'pages' folder and 'groups' folder to your site." < This needs clarification, please. Simply uploading these files to the /mw/ root or /extensions/ has no effect. Adam Edgington 22:50, 23 January 2012 (UTC)
- Update that section. Please modify it directly to make it clear if you still think it is unclear. Jasonzhang 23:13, 23 January 2012 (UTC)
6 extensions - really essentiell? And is there an example page?
Why I need 6 extensions, that I can use accesscontrol.
Is it really essentiell?
Is there an example page, for testing this extension? Speedtook 09:49, 31 January 2012 (UTC)
- you could use the "semantic mediawiki bundle" which, I believe, contains the 6 extensions (but you need to activate some like the Semantic Internal Object one) Pierro78 15:57, 31 January 2012 (UTC)
- All six extensions are needed. As Pierro78 pointed out, you can use semantic mediawiki bundle plus this extension. Set up your own demonstration following the "Demonstration" section in the document. Jasonzhang 18:42, 31 January 2012 (UTC)
- Hello,
- already we installed Semantic Mediawiki and Semantic Forms, also BlueSpice and LDAP Authentication. And we do not want install a lot of extensions, because if we must update our wiki, it will be more complicated. The extensions have to work together.
- I do not know if SemanticAccessControl this extension is which I need.
- We tried it with ImprovedAccessControl, but the problem is, this extension does not work in a template.
- So it would be good, if I could test it before I have installed it, because else I must delete it again.
- Thank you for your fast answers!
- Kind regards Speedtook 13:06, 1 February 2012 (UTC)
- Some things have to be accepted the way they are. However, these extensions are easy going on upgrade. Cheers [[kgh]] 18:45, 1 February 2012 (UTC)
Sreenshots
I don´t know if I understand the function of this extension. Can you upload any sreenshots, how a user works with this accesscontrol? Many thanks! 80.149.179.2 13:29, 9 February 2012 (UTC)
- sorry, no screenshot. Please download and try yourself out. Most likely, you only need to embed acl statement in template. There is no need for any GUI except defining user group from time to time. Jasonzhang 17:57, 9 February 2012 (UTC)
- It is possible with a form, right?
- How such a form could look? Checkboxes with the groups? And what for permissions the users are able to choose? 80.149.179.2 09:10, 10 February 2012 (UTC)
- For example like that image? Would it work so?
Mediawikitester 12:15, 10 February 2012 (UTC)
Configuration
The instruction on the Page is
- Configure default site access control rule. Edit UserGroup:SiteACL
- Configure the default policy for user in one group. Edit UserGroup:GroupACL
- Add any user who design the site. Edit UserGroup:Developers
When I open these pages i get empty pages. What should I add there? 129.27.219.242 14:02, 10 February 2012 (UTC)
- BTW Nice idea doing this semantically! 129.27.219.242 14:04, 10 February 2012 (UTC)
How do I use the parser functions?
For example: {{#allgroups}} or {{#allusers}} → didn´t work 80.149.179.2 16:24, 20 February 2012 (UTC)
- try this: {{#allgroups:0}} or {{#allusers:0}}. I guess you have to supply the : for the MediaWiki to recognize it is parser function. Jasonzhang (talk) 18:25, 20 February 2012 (UTC)
- {{#allgroups:0}} or {{#allusers:0}} didn´t work... 80.149.179.2 11:54, 1 March 2012 (UTC)
namespace
Hello, can I use this extension for pages in all namespaces? Or have to be the pages in namespace "ACL" ? Thanks Mediawikitester (talk) 14:24, 6 March 2012 (UTC)
- Sorry, I do not understand your question. Can you elaborate it a little more?
- If you mean "is ACL namespace rquired", yes, it is required.
- -jason 154.5.162.254 19:33, 6 March 2012 (UTC)
- Okay I try it in an example:
- I have an existing page (Help:Administration) and I want to set access control...
- Is that possible? Or I have to rename the page into: "ALC:Administration"? Mediawikitester (talk) 09:41, 20 March 2012 (UTC)
- Edit SemanticAccessControl.php, add NS_HELP to $ACL_CONTENT_Namespaces. Basically, you want SemanticAccessControl treats pages in help namespace as regular content page for user.
- After this, you can apply access control rule in a mechanims provided by SemanticAccessControl Jasonzhang (talk) 17:46, 20 March 2012 (UTC)
Pages, Templates, Forms, Categories for SemanticAccessControl
Hi,
we have installed the rquired extensions. But we have no pages, templates, forms,... from this extensions (Pages like "Form:ACL_UserGroup" do not exist). Is it possible to export/import the pages from Google SemanticAccessControl Project Page?
Best regards! 80.149.179.2 07:06, 3 April 2012 (UTC)
Extension doesn´t work
Hi, the extension doesn´t work. I saved a page with this code:
{{ACL Page User Permission
|User=Mediawikitester
|Permission=read, write, grant
|Grant=Grant}}
But all users can read and write :-( Mediawikitester (talk) 09:27, 3 April 2012 (UTC)
- and also anonymous users have access.
- What could be my mistake? Mediawikitester (talk) 14:00, 3 April 2012 (UTC)