Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, June 19 2013 @ 03:06 PM EDT


 Forum Index > Support > Plugin Support New Topic Post Reply
 Using Universal Plugin Toolkit
   
Robin
 08/01/03 09:24AM (Read 1413 times)  
+++++
Full Member

Status: offline


Registered: 02/15/02
Posts: 725
I\'ve been using the kit and I have a question regarding generic install.php. The problem is with access asignment. I created a Plugin Admin group and 2 features. One is plugin.admin (for admins only) and another is plugin.edit (for logged in users). I didn\'t want to create additional group, as I want this plugin available to registered user i.e. Logged-in. During install everything works perfect. However the two features are assigned in access table to the plugin Admin Group. Then the registered users can\'t access pages they should do. After changing acc_grp_id, in gl_access table, into 13 (which is Logged-in users) for the plugin.edit feature, users can access the plugin functions. My question is how to modify, what to add in install.php so the access is granted correctly.

Geeklog Polish Support Team
 
Profile Email Website
 Quote
Blaine
 08/01/03 09:52AM  
+++++
Full Member

Status: offline


Registered: 07/16/02
Posts: 1233
Robin,

First, please don\'t call your feature rights plugin.xxxx - that is too generic or maybe you were just using name for explaination. It should be the name of your plugin.

The install script as you pointed out only does the auto-assignment for the root group - which is ID of 1. You would need to replicate the assigment of the feature INSERT SQL in the foreach loop for group 13 and then create a new record in the group_assignment table for group 13 which follows.

Or -- just use my Group Security admin block that I wrote but I know you want to have this done on install. I don\'t do add this these rights to this group on install because many users may not want this by default.

Geeklog components by PortalParts -- www.portalparts.com
 
Profile Email Website
 Quote
Robin
 08/01/03 10:13AM  
+++++
Full Member

Status: offline


Registered: 02/15/02
Posts: 725
Thank you Blaine. I\'ll try to overcome it. Yes it was only for explanation.

Geeklog Polish Support Team
 
Profile Email Website
 Quote
Anonymous: Robin
 08/04/03 04:41AM  



Problem solved. Thanks again Blaine!

 
 Quote
Content generated in: 1.46 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content