Graham said:
Can you give us some more information?
1. When you say "groups" do you mean user-level security (ULS) groups set up
through Tools>Security>User and Group Accounts?
Yes, right now I only have two groups. Admin and EnterData and of
course the User group.The Admin can see/modify everything, the
EnterData can only see his own information/records and can only see
some of the forms.
2. When you say "information from GroupN" do you mean records that have been
created by a member of GroupN? Yes
3. How is your application recording who "owns" the data? Are you writing
the CurrentUser value into each new record?
Yes, I have a field call CurrentUser in each table that will record who
created the record.
4. Do you want users to be able to see their own group's data as well?
Yes. This is the deal, my boss wants me to create this multiple groups
so manager from the different departments can ONLY see the information
from the employees under their departments, so for example Accounting
manager can only see information/records from the accounting employees.
You know what I mean? so I have around 4 departments. And the Admin
group that will be able to see ALL the records.
Is there a way where I can say:
if groups=Department1 then
groups=Department1employees.visible = true
else
groups=department2.visible = false
groups=department2emploees.visible = false