Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 7:29 pm (All times are UTC )

 


Forum rules

Global Rules
Additional Rules for this forum <------- Please read before posting



Post new topic Reply to topic  [ 182 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject: Re: noix ACL
Posted: Thu Oct 08, 2009 12:50 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
joomila you are great.
I installed NOIX, but i'm having problems in assigning the access level to a group
the checkboxes neer the new groups are disabled
please how can this be fixed?


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Thu Oct 08, 2009 1:25 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 16, 2009 4:52 pm
Posts: 188
Zahraa,

Hi!

Can you share a little more information on what you are trying to do?

Do you have a link?

ewm


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Thu Oct 08, 2009 2:59 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
Hi :)
emm no i have no link.. it's on my local machine

well my problem is the following:

- I installed the NOIXACL2.0.6 as in the installation guide here:
http://blueflyingfish.no-ip.biz/joomla15/index.php?option=com_k2&view=item&layout=item&id=78&Itemid=81&lang=en
- I went to Components-> Access Control-> Manage Groups
- I created a new group under Registered (myGroup).
- I went to Manage Levels, and click New
- The page of creating a new level contains two fields: the name and the group
- In the groups list, the new group i created was listed there but it was disabled!!! I mean the checkbox neer it was disabled.
I dont know if this is a bug or i missed something in the configuration

Thanks for your help ;)


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Thu Oct 08, 2009 3:02 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
I forgot to mention that what im trying to do is to create a new access level. THere are menus and menu items for the admin and ones for resellers and ones for registered users. that's why i need more access levels
hope i explained it well


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Thu Oct 08, 2009 3:16 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 16, 2009 4:52 pm
Posts: 188
Zahraa,

In my documents, I have been able to set up "User Groups" instead of "Access Levels" in order to achieve my goals of control which users have access to what content, menu item and menus.

ewm


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Fri Oct 09, 2009 7:12 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
hi ewm

Did you mean that you were able to assign the access level to a new group? I didn't understand well what you wrote.

I already configured the users and the groups and set the permissions on the menus. BUT I need the Access levels be configured.


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Fri Oct 09, 2009 11:23 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 16, 2009 4:52 pm
Posts: 188
Zahraa,

I don't use access levels.
Please review my documents on how I control access to menu items, and menus.

ewm


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Fri Oct 09, 2009 11:42 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
where can i get your documents?
There are some bugs in the access level option actually
hope they are fixed in the next release


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Fri Oct 09, 2009 3:32 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 16, 2009 4:52 pm
Posts: 188
Zahraa,

Here is the link to my demo site.

This site contains Installation instructions, "How Tos", and live examples.

http://blueflyingfish.no-ip.biz/joomla15/

ewm


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Sun Oct 11, 2009 1:49 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Feb 17, 2007 10:34 pm
Posts: 19
Sorry I think this question has already ben asked here in a number of ways but I can't work out what the straight answer is -

I want to be able to HIDE menu items in the Administrator backend from different users/ groups (namely people who only have Manager access).

I have successfully denied my Managers permission to certain components - when they click them they get "you do not have permission to edit this" etc.

But can NoixACL actually HIDE selected menu items in the admin backend from users, so that they do not even have the option to click on them (that would be much less confusing).

Thanks - if this question has already been asked can you please just point me to it - so many posts on this topic!


Top
   
 
 Post subject: Re: noix ACL
Posted: Mon Oct 12, 2009 7:29 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
:D :D :D
ewm
i think you are great ;)
this is the site where i got the installing instructions and learned how to use NOIXACL.

i read how to configure the users and permissions
and applied them.
i prefer to have the access levels configured.
In your documents, there is nothing about access levels!!!
How are they configured?
Can you please help me with this?


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Mon Oct 12, 2009 7:44 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
rpt,
did you have any ACL component installed?


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Mon Oct 12, 2009 2:51 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Feb 17, 2007 10:34 pm
Posts: 19
Not sure I understand our question Zahaa, I have the all the noixacl bits installed - the component, the plugins, the modules, as instructed. People are being denied access to admin pages and Components - good. But the menu items are not HIDDEN, which would be a lot more user-friendly tha simply denying them access after they have tried to click the menu item.

Can anyone give me a clear answer to this? Doe this functionality exist in this component? Its very clever, but maybe notuseful for me if it can' do this ;)

Thanks to everyone who puts work into this component and this forum.


Top
   
 
 Post subject: Re: noix ACL
Posted: Tue Oct 13, 2009 8:56 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
ewm wrote:
Here is the link to my demo site.

This site contains Installation instructions, "How Tos", and live examples.

http://blueflyingfish.no-ip.biz/joomla15/


I did that using the access levels
1. Create agroup
2. Create an Access level having that group
3. Create a user belonging to the created group
4. Set the access level of the menu item to the access level you just created
you are done:)
hope this is clear.. I usually fail to get my ideas cleared :(


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Tue Oct 13, 2009 9:03 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 16, 2009 4:52 pm
Posts: 188
Zahraa,

I have not used access levels to accomplish the controls demonstrated in the projects.

ewm


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Wed Oct 14, 2009 5:16 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Dec 12, 2007 2:40 am
Posts: 209
Location: Frisco, CA
Hi, I'm having the same problem with Access levels. I'd really love to be able to use them, both for individual menu items, and because it's much easier for the end user. Depending on their level of geekdom, it's going to be difficult to impossible to teach them how to dive into the adapters... at least the end users I work with!

Not working for me with the lastest Noix (2.06), latest plugins and adapters, noix version of mod_mainmenu and latest Joomla.

Thanks for such a great Joomla extension.


Top
   
 
Posted: Wed Oct 14, 2009 5:43 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Dec 12, 2007 2:40 am
Posts: 209
Location: Frisco, CA
I just thought a few people might be interested at a nice discovery I made last night. I'm doing a site for a college that has Faculty and Staff users, and when they log in we wanted them to go straight to their respective section. I found that it's very easy to modify the "Group Redirect Plugin" to add Noix groups.

Here's how. First go to http://joomlafare.com/downloads/doc_det ... ect-plugin and pick up the plugin. Disclaimer: This isn't on the JED, and the reason could be anything from a gaping security hole to a small license skirmish (I figure it's probably the latter). Next modify:

/plugins/user/usergroup_redirect.xml

Add as many Noix groups as you like to the parameters (this will make them show up when you open up the plugin in the backend). I just duplicated one of them a couple of times and changed the names.

/plugins/user/group_redirect.php

Go to the switch statement (line 42) and duplicate one of the switches as many times as you made new parameters. Make sure the case matches up with your Noix group and $this->params->get matches up with your XML file.

Then open up the plugin and enter your URLs. Worked like a charm.


Top
   
 
 Post subject: Re: noix ACL
Posted: Wed Oct 14, 2009 6:04 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
ewm wrote:
Zahraa,

I have not used access levels to accomplish the controls demonstrated in the projects.

ewm

yes right . I used them. But there are some bugs in the Database when editting and deleting the created access levels.
I was fixing that.

unleash.it,
what was wrong with the access levels? I had some problems in the begining...


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Wed Oct 14, 2009 7:43 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Dec 12, 2007 2:40 am
Posts: 209
Location: Frisco, CA
Hi Zahraa, like you said earlier I'm unable to check the boxes for my groups. Did you figure it out?

First I created a section called private, with two categories: faculty and staff. Then I created two groups (with registered as parent): one faulty the other staff, and gave each access to the category of the same name. This all works fine on the front end. The problem is when I go to create new ACLs, the checkboxes for the faculty and staff groups are grayed out. I can't check them. The default groups are all checkable, but once I check them (just to test)... they stick until I delete the ACL.

Any suggestions?


Top
   
 
 Post subject: Re: noix ACL
Posted: Thu Oct 15, 2009 7:26 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
well... this was the problem when i tried to use the Access levels
but i fixed it :D

u need to:
1. browse to
siteFolder\administrator\components\com_noixacl\views\accesslevel\tmpl
2. open the "default.php"
3. in line 48 (should be the same i guess), you will find this code:

Code:
<?php if( $groupValue > 28 ): ?>
  <input type="checkbox" disabled="disabled" />

Change the condition to:
Code:
<?php if( $groupValue ==29 ||$groupValue ==30 ): ?>
<input type="checkbox" disabled="disabled" />


this worked for me.

there is another bug in the database
if you unchecked a group for an access level and save, the record in database table is not removed. Same when deleting an access level
you can check table jos_noixacl_groups_level.

And one more thing i noticed..
the access level for articles is static.. i mean the access levels are set inside an xml file.
You should update this file whenever you add an access level.

I still didnt fix the database and article things. If you were able to find a good solutoin, i would appreciate that you share it :)

good luck


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Thu Oct 15, 2009 12:56 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 16, 2009 4:52 pm
Posts: 188
Excellent Bug Find!

I will log it and push for a bug release.

Yes! to Open Source!

ewm


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Thu Oct 15, 2009 1:51 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
it's my job to find bugs :)
Yes! to open Source!
and you go ewm
GOD bless u :)


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Thu Oct 15, 2009 2:05 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 16, 2009 4:52 pm
Posts: 188
GOD bless u


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Fri Oct 16, 2009 8:44 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
ewm, any idea when this can be fixed?
i mean how much time should it take?


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Fri Oct 16, 2009 12:59 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 16, 2009 4:52 pm
Posts: 188
We are following up on your lead now.

We hope to have available updated files soon.

ewm


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Sat Oct 17, 2009 9:17 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Feb 13, 2009 6:20 am
Posts: 42
Hi,

I also need this solution :)
I installed NoIX on my Joomla 1.5.14 :

Component:
1) noixacl2.0.6.zip

Modules:
1) mod_mainmenu_noix.zip

Adapters:
1) adapterAccess1.5.3.zip
2) adapterContent1.5.5.zip
3) adapterModulesv1.0.zip
4) menuAdapter1.5.1.zip

Then delete old plugin, and install this :

1) plg_system_2.0.11.zip

The problems :

a) after login as a user of one group (WITHOUT publish ability), the icons of publish (yes/no) is still appeared. How to solve this ? Which file must be installed ? Or I must change some xml file ?

b) after succesfully creating new article (content), I tried to link it to the menu, but it was faild (have no access right error ... )

This is the bug of NoIX or I have missed something at install/configuration ?

Thanks.
- pedma -


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Sat Oct 17, 2009 11:47 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
I'll work on the bugs i found on Monday.
If I got anything fixed, i'll share it with everybody.

pedmajungne,
for the first problem, i have the same problem. I dont know if this can be configured somewhere
I was wandering if i wanted the public users to be able to add articles, how can i do this?
i dont know if this is the proper place to ask this..

ewm, is NOIXacl able of doing this?
if yes, how?


as for the second problem, you should disable all the adapters before making changes.
read the manual of ewm, it will help i guess.

hope this will fix your problem


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Sat Oct 17, 2009 12:09 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Feb 13, 2009 6:20 am
Posts: 42
Hi Zahraa,

Many thanks for your information. I hope the problems will be solved quickly :)

Thanks again.
- pedma -


Top
  E-mail  
 
 Post subject: Re: noix ACL
Posted: Sun Oct 18, 2009 6:28 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Dec 12, 2007 2:40 am
Posts: 209
Location: Frisco, CA
Sorry I disappeared for a couple of days... was on mini-vacation!

I doubt if I can be much help figuring this out anyway. My PHP/Mysql is abysmal at best. For one thing, I don't understand the jos_noixacl_groups_level table. It looks like id_group is a foriegn key of jos_core_acl_aro_groups (a user group). But what the heck is the id_levels column? There are several numbers in each field seperated by commas. Can't figure out what they are...

So I gave it a good shot, but I didn't get very far. Pretty complex component.

Maybe the code:

<?php if( $groupValue > 28 ): ?>
<input type="checkbox" disabled="disabled" />

Is temporary because the author knows there's a bug?


Top
   
 
 Post subject: Re: noix ACL
Posted: Mon Oct 19, 2009 5:46 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Sep 28, 2009 12:34 pm
Posts: 56
the commas thing you talked about is a bug.
when updating an access level in joomla, the checked groups are added to the old checked ones (commas are added).
I can't get this explained well.
You need to change the selections of the groups and notice the changes in the table.

I used fixing the disabled checkbox as a temporary solution (and it MAY be the solution) of the ug till ewm fixes it

and hope you enjoyed your vacation ;)


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 182 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

Quick reply

 



Who is online

Users browsing this forum: dizzi, Dupi, shahidsan, Thundermark-50 and 36 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group