J
Joan Wild
Gary said:Let me tinker some more. Thanks for staying with me Joan; I am
beginning to think I am as frustrating to this NG
Not at all
Gary said:Let me tinker some more. Thanks for staying with me Joan; I am
beginning to think I am as frustrating to this NG
Gary said:One of my challenges is tables created by the Owner, that a
subsequent macro will delete. However, the person invoking the macro
will be a User and not the Owner or an Admin User.
I suspect I can recreate the macro by either emptying the table and
appending or making that User the owner.
I favour making the User (non owner, non admin) the owner... then the
macros will all simply just run.
One of my challenges is tables created by the Owner, that a subsequent macro
will delete. However, the person invoking the macro will be a User and not
the Owner or an Admin User.
test said:(snip)
Then just log-on as the Owner of those tables, then give the relevant
other
users Delete permission to those tables. This will let those users delete
those tables, even though they are not the owner of those tables, and,
they
are not "an Admin user" - whatever that is!
Gary, every workgroup file has an Admins >group<, and an Admin >user<. The
members of the Admins group >of the workgroup file that was used to create
the database<, have special priviligies. These are the "super users", if
you
want to use that term.
Referring to "an Admin user", is a sure recipe for further confusion! If
you
want to refer to the "super users", refer to "the members of the Admins
group of the workgroup file that was used to create the database". Do not
call them "Admin users"!!
Gary said:So we have two levels of Admin users... thanks!
I have so much to learn.
You're right; using correct terminology to define problems is bound
to get me better answers.
Gary said:I created the database and pulled down my code into it. I used the
DEV.MDW for all the dev work including access rights. I used the
Security FAQ to ensure I created a unique admin account, and some
Groups for my application. I then took away Admins group from the
Admin account. I made sure the User group had access to nothing. I
ensured my Groups that I set up had the proper accesses to components
as needed; i.e.: 'power' groups had everything they needed; 'view'
groups have access to only the macros/queries/reports required.
I then created a DIST MDW file and worked on the database using it.
I created a SiteAdmin user and the Groups as set up in the DEV MDW. I
then created Users and linked them to the appropriate Groups.
I noticed that I had to add the admin user account from the DEV MDW
into the DIST MDW so that I could use the SiteAdmin user as a admin
account to manipulate some queries that my 'power' and 'view' users
had no access to. I found this strange considering the SiteAdmin was
an admin user.
However, without the admin user account from the DEV
MDW I noticed all the modules had an <Unknown> owner.
The only way I can flip that Bypass flag is to ensure I use an Admin
user account (I used the DIST MDW).
Joan Wild said:You may find Jack MacDonald's paper is helpful in driving home the message
about Admin User and Admins Group.
www.geocities.com/jacksonmacd
Joan Wild said:Please tell us that isn't the order in which you did things.
What do you mean 'worked on the database'. Do you mean testing, or did
you
play with permissions while using this mdw?
Your SiteAdmin user serves a single purpose - to add users. It shouldn't
be
manipulating queries.
As it should be. Are you saying that once you added the Admin User from
the
dev.mdw, those modules no longer showed <Unknown>? If that's the case
then
you did not secure it properly. The Admin User should not own *anything*.
It is quite acceptable for objects to show owner - unknown.
No user in the Dist.mdw should be able to flip the bypass flag.
Gary said:See inline.
No, actually I created the security group DEV first... the rest looks
about right.
OK. That's what the Security FAQs says. However, how is that done
when the Bypass flag is flipped and the database locked down? Thru
use of custom code? or is the Bypass flag not set?
I added the owner who is a member of the Admins group.
I had this all working as per your comments, I then added some
'scaffolding'queries etc and then they didn't run as they should have
have.
So I added back my owner who is a member of the Admins group. I
need to ponder this some more. I think I know what I did wrong;
you've pointed it out but I need to get my head around it and add a
scaffolding group with the right permissions... I think! And then
yank the owner account with admin rights from the Dist MDW. And then
add a user with 'scaffolding' rights to execute the req'd modules...
I think. That's how the rest of the stuff works.
Because they don't own the Database? Not even the SiteAdmin user who
is a member of the Admins group? So what all should the SiteAdmin
have rights to? Perhaps nothing except for being a member of the
Admins group?
Gary said:I now have this as per your last paragraph.
The only troubling thing is why the SiteAdmin user account, who has
admin group permissions, should NOT be able to flip the Bypass flag.
I thought all users with admin rights could do that?
The only troubling thing is why the SiteAdmin user account, who has admin
group permissions, should NOT be able to flip the Bypass flag.
I thought all users with admin rights could do that?
Joan Wild said:No. The SiteAdmin user is a member of the Admins Group in the dist.mdw
Only a user who is a member of the Admins Group in the dev.mdw (which is the
one you would use to flip the bypass) can flip it back. The Admins Group is
not the same in each mdw.
TC said:A perfect example of the importance of using the correct terminology,
Gary!
Cheers,
TC
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.