Closed (fixed)
Project:
Commerce Stock
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Dec 2012 at 02:04 UTC
Updated:
2 Jun 2013 at 15:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
guy_schneerson commented@dwatts3624 thanks for you input
We currently use the "administer commerce_product entities" permission, Do you think we need a more specific one like "configure commerce stock"?
Would be easy to add however I am a bit worried about existing installs as they will need to update their permission, but we are on Alpha so I think should be ok.
Will look into adding this in the new year.
Comment #2
dwatts3624 commentedGood point about upgrading but I think this is a must to align with other critical commerce modules (which this is one of in my opinion).
Thanks for the attention here!
Comment #3
harrrrrrr commentedpatch for 1.x branch which gives you a seperate 'administer stock settings' permission
Comment #4
guy_schneerson commentedHi @harrrrrrr was a bit afraid of this one see #1 but as #dwatts3624 in #2 stated we need it.
So thanks and will review and commit.
Comment #5
heyyo commentedWould be nice to have this commited on 2.x branch also. Thanks.
Comment #6
guy_schneerson commentedHi @heyyo for sure, will get this in both versions soon.
Asigning to myself so I can pick this up next time I work on the module.
Comment #7
guy_schneerson commentedThanks @dwatts3624 and @harrrrrrr
Committed http://drupalcode.org/project/commerce_stock.git/commit/4170b56
Comment #8
guy_schneerson commentedAlso updated the readme
Comment #9
guy_schneerson commentedVersion 2 may need finer granularity.
Comment #10
guy_schneerson commentedV2 patch attached
Created a separate issue for #1998358: Administer Stock rules actions permissions
Comment #11
guy_schneerson commentedneed to add to simple stock configuration
Comment #12
guy_schneerson commentedAdded simple stock configuration
Also added access check for the rules configuration admin page need 'administer rules' permission.
Comment #13
guy_schneerson commentedremoved an unneeded commented line.
Comment #14
guy_schneerson commentedReviewed, tested & committed to v2 http://drupalcode.org/project/commerce_stock.git/commit/176cd58
Comment #15.0
(not verified) commentedEdited language.