Jump to content

Extension talk:SemanticAccessControl

From mediawiki.org

Latest comment: 14 years ago by Mediawikitester in topic Extension doesn´t work

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)Reply

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)Reply

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)Reply

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)Reply
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)Reply
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)Reply
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)Reply

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)Reply

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)Reply
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)Reply
For example like that image? Would it work so?
Mediawikitester 12:15, 10 February 2012 (UTC)Reply

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)Reply

BTW Nice idea doing this semantically! 129.27.219.242 14:04, 10 February 2012 (UTC)Reply

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)Reply

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)Reply
{{#allgroups:0}} or {{#allusers:0}} didn´t work... 80.149.179.2 11:54, 1 March 2012 (UTC)Reply

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)Reply

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)Reply
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)Reply
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)Reply

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)Reply

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)Reply

and also anonymous users have access.
What could be my mistake? Mediawikitester (talk) 14:00, 3 April 2012 (UTC)Reply