Joomla Page/Article View Access By Different User Groups - permissions

I am new to Joomla.
I want different user groups to have access to view certain articles/pages eg
Article 1 - visible only to user Group 1
Article 2 - visible to user Group 1,2 & 3
Article 3 - visible only to Group 1 & 3
Etc
I don’t quite understand how to achieve this?
Any guidance would be much appreciated

Related

SSRS Page Break after custom # of group

I am working on a SSRS report. It is a Tablix with 1 group by city. I would like to have 4-5 records per printer page in PDF. Currently, it is printing 1 record per printed page. This is because I have set a hard page break after each group. I can remove that hard page break but I'm unsure how to get 4-5 on each printed page. I'm not that good with SSRS expressions. Any help is appreciated.
I would handle this by creating another column in your dataset which groups 4 or 5 cities. say the first 5 as 1, then the next 5 as 2 etc.. and then add a parent group to your city group using this column.. then set your page break on that group..

Task Management Script (1 database of tasks all users must complete indipendantly)?

Explanation: I currently have a database of thousands of tasks and a few hundred people that can see these tasks. Each user has their own login but all see the same list of tasks and all have to complete all of these tasks.
My Problem: I want each user to be able to mark each task complete as completed within their account without marking it complete for all other users.
What I currently have: 1 table of tasks and descriptions, 1 table of users, 1 table of discussion on each task. Users can login and see all of the tasks but cannot mark them complete.
I'm not sure if I am explaining this well enough but I am just looking for any insight as to the best way to get started with this as I kind of hit a brick wall and need people smarter than me to give their insights :)
Thank you all in advance for your comments.
You need one more table that holds the relation between the users and the task.
Everytime a user completes a task you make an entry into that table:
idx task_id user_id
1 1 3
2 4 3
3 1 5 ...
That way you can query for users who have completed a task, or the tasks completed by a user, the tasks that have not been completed by a user, etc...

How to filter specific OUS from Active Directory

I'm trying to get a list of users from specific OU's.
The root is COMPANY then USERS, and then there are several OU's after that, say 10. I want to only grab the users from 5 out of the 10 OU's.
How can I accomplish this?
Dim ou As String = "OU=dept1,OU=Users,OU=COMPANY,DC=COMPANY,DC=local"
I want to add dept2 to 5 in that string. It doesn't work. I can only do 1 OU at a time. How can I filter 5 dept out of 10 under the OU users?
As far as I know there is no way to do that other than running 5 separate searches.
You can achieve similar results if the users in the different OUs are members of different groups (at least one unique group per OU). Then it will be possible to do it with a single search.

Excel/Pentaho double group by + count

I am having some problems dealing with Excel and pentaho (I guess due to my 0 experience with these tools...).
Having the following data set:
Interaction date interaction_name
21/08/13 course view
21/08/13 course view
21/08/13 forum view forum
21/08/13 course view
21/08/13 course view
21/08/13 course view
22/08/13 forum view forum
22/08/13 course view
22/08/13 forum view forum
22/08/13 user view all
22/08/13 user view
22/08/13 blog view
22/08/13 user view all
I would like to represent that on the 21/08/2013 there has been 4 course views and 1 forum view, on 22/08/2013 2 forum views, 1 course view, 3 user view all... and so on.
That is (from the SQL perspective) kind of a count in a double group by. First group by date, then group by interaction and count them. The correct SQL query could also help me.
I just cant figure out how to make it. I tried with excel and with pentaho, but seems that I am missing something...
Any help would be really apreciated! Thanks
My report in pentaho so far: Already tried with aggregation count, but it counts every interaction, without making any difference among them.
As #Marcus Rickert asked, you didn't specified data source, but I will suppose that is some SQL like database because you asked for right SQL query.
This one:
SELECT Interaction_date, Interaction_name, count(Interaction_name) from your_table group by Interaction_date,Interaction_name order by Interaction_date asc;
It will produce:
Interaction_date Interaction_name count
---------------------------------------------
21/08/13 course view 5
21/08/13 forum view forum 1
22/08/13 forum view forum 2
22/08/13 course view 1
22/08/13 user view all 2
22/08/13 user view 1
22/08/13 blog view 1
Now, you can put it in Pentaho Report Designer and group by (inside Report Designer) by Interaction_date.

running two scenario at same time with loadrunner

Can we run two scenarios at same time with loadrunner?
E.g. Suppose there are 50 user and I have to generate script such that 25 user accessing login and order modules and other 25 user just browsing the site.
Is it possible to generate such scenario?
Running multiple scenarios at the same time (assuming standalone controller) is not possible on THE SAME controller at THE SAME time.
From your description of the problem I assume you are looking for multiple scripts (groups) running in the same scenario - if so then the answer is YES.
In the controller you add more Groups (scripts are called groups in controller) and define the number of vusers or % of total vusers (depending on scenario type & controller version) for the group. I have not seen any limit on the number of groups/scenario. I've never needed more than 15 groups in a single scenario thou ..
Rohit,
I have a direct question for you, are you using an evaluation license?
Generally you would just use a 50 user license with two groups of 25 users apiece. The only time I get this question for the past 15 years is when someone is trying to combine result sets for two 25 user evaluation license copies of a LoadRunner controller.
Rohit, you can create two seperate scripts - one for your login & other for browse site transactions. In controller scenario , you can select select by Group and add these two scripts in your groups and assign 25 vusers each to both.