Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 18th, 2010, 10:03 AM
mateoc15's Avatar
mateoc15 mateoc15 is offline
Business Analyst
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Mar 2004
Location: The 'Ville
Posts: 1,087 mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 17 m 11 sec
Reputation Power: 21
GRANT for all objects?

I would like to be able to grant permissions to all objects to a user without having to do each manually. Is there a good way to do this? If nothing else maybe a procedure that loops through objects? I'm not good with (or have even tried) SP's with FB.

Thanks!
__________________
Discontent is the first necessity of progress. - Edison

Reply With Quote
  #2  
Old February 19th, 2010, 02:21 AM
nagysz nagysz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 200 nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 11 h 19 m 28 sec
Reputation Power: 13
Quote:
Originally Posted by mateoc15
I would like to be able to grant permissions to all objects to a user without having to do each manually. Is there a good way to do this? If nothing else maybe a procedure that loops through objects? I'm not good with (or have even tried) SP's with FB.

Thanks!



IBExpert has a gorgeous feature Autogrant privileges, which does exactly what you need.

-> right click on procedures and/or triggers and select Autogrant privileges from the popup menu and voila!

Reply With Quote
  #3  
Old February 19th, 2010, 12:23 PM
mateoc15's Avatar
mateoc15 mateoc15 is offline
Business Analyst
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Mar 2004
Location: The 'Ville
Posts: 1,087 mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level)mateoc15 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 17 m 11 sec
Reputation Power: 21
If I'm reading this correctly then you can only batch grant for procedures? Or is Autogrant an actual SP that can be run?

Reply With Quote
  #4  
Old February 20th, 2010, 08:36 AM
nagysz nagysz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 200 nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 11 h 19 m 28 sec
Reputation Power: 13
Quote:
Originally Posted by mateoc15
If I'm reading this correctly then you can only batch grant for procedures? Or is Autogrant an actual SP that can be run?


No, this is a feature that gives grant on all necessary tables/views to procedures, and there is a grant editor separately that can do every combination.

This autogrant feature is an internal SP i guess, and fastens up your work....cuz you don't want to check every single procedure what it need and what it doesn't and then go to grant manager and apply the proper policies....you just simply click on Autogrant and it does it all for you.

Reply With Quote
  #5  
Old March 13th, 2011, 08:25 PM
WarwickWright WarwickWright is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2011
Posts: 5 WarwickWright User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 41 sec
Reputation Power: 0
Hi buddy unfortunately firebird is a very restictive db which has it's advantages. I just finished developing a Firebird GUI called 'Utility FBMetaData' it's FREEWARE you can use this utility to do multiple grants on any objects. It's been tested on Firebird 2+ but should work on all versions. This solution will work for you. Do me a favor and report any bugs for me if you find any. It would also be nice if you could rate the product for me.
It should be easy to find on google I just typed in the application name on google uk and it came up on the first page so you should find it quite easily. Bless Warwick

Reply With Quote
  #6  
Old March 13th, 2011, 08:35 PM
WarwickWright WarwickWright is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2011
Posts: 5 WarwickWright User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 41 sec
Reputation Power: 0
Hi buddy I've just finished developing a Firebird utility called 'Utility FBMetaData' this utility will allow you do perform multiple grants on any objects with a single action. It's easy to find on google uk just type in the application name as it appears in this reply and it should come up on the first page of results. It's FREEWARE. Should you use this solution could you please report any bugs (IF any) and rate the software for me. Bless Warwick.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > GRANT for all objects?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap