Extension talk:SemanticAccessControl
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Deletion permission tab & ACL namespace | 1 | 15:34, 26 April 2012 |
| Extension doesn´t work | 6 | 17:30, 5 April 2012 |
| Pages, Templates, Forms, Categories for SemanticAccessControl | 1 | 19:30, 3 April 2012 |
| How do I set permissions? | 1 | 19:27, 3 April 2012 |
| namespace | 3 | 17:46, 20 March 2012 |
| How do I use the parser functions? | 2 | 11:54, 1 March 2012 |
| Sreenshots | 3 | 12:05, 14 February 2012 |
| Configuration | 1 | 14:04, 10 February 2012 |
| 6 extensions - really essentiell? And is there an example page? | 4 | 18:45, 1 February 2012 |
| Installation | 1 | 23:13, 23 January 2012 |
Hi, we use access control only with a form and templates.
We don´t need the "permission" tab and the ACL namespace.
Is it possible to delete this tab and this namespace?
How can I delete these and does the Extension still work after that?
To remove the permission tab, comment out line with 'PermissionTab' in the SemanticAccessControl.php. Please keep the ACL namespace, it is not used if permission tab is removed. However, it is inside of the code. So it could break code if ACL namespace is removed. It seems you get this extension worked. By the way, I'd like to hear some your comment on this extension such as installatio, configuration and features.
thanks
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 :-(
You need EXPLICITLY deny access for ALL other users.
You can add statment like this
{{ACL Page Group Permission
|UserGroup=All Users
|Permission=write, read, grant
|Grant=Reject
}}
or Configure UserGroup:SiteACL.
Hi, how do I set permissions for specific users? For example: I want to create a page, that only I have access. Other users and anonymous should not able to read or write. I tought that works with:
{{ACL Page User Permission
|User=Mediawikitester
|Permission=read, write, grant
|Grant=Grant}}
But after saving that page, still all can read and write :-(
Please read the documentation and my reply! First, check your installation and make sure Semantic Internal Object extensions works. If SIO does not work, this extension does not work, either. Second, please read my reply before. You have to explicitly deny access for ALL other users. Did you do it? Moreover, login may be required for all users. I did not test this user for anonymous user. In my test, login is required at my installation.
Is there an existing webside, which use this extension? It would be very helpful, if I had an example.
I need the information, what for forms, templates and UserGroups,... I have to create, that the extension works.
Sorry, No existing website. I do not have a public server at my dispose.
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!
The pages(wiki text format) are inside of the distribution. You can use wikibot.pl in google project page to BATCH UPLOAD them to your wiki site.
How do I set permissions? With "edit with form" or with "Permission"-tab?
Most likely, you want to embed permision syntax in template page. Please see the Usage sectionin documnetation
Hello, can I use this extension for pages in all namespaces? Or have to be the pages in namespace "ACL" ? Thanks
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
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"?
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
For example: {{#allgroups}} or {{#allusers}} → didn´t work
try this: {{#allgroups:0}} or {{#allusers:0}}. I guess you have to supply the : for the MediaWiki to recognize it is parser function.
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!
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.
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?
Why I need 6 extensions, that I can use accesscontrol. Is it really essentiell?
Is there an example page, for testing this extension?
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)
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.
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
"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)