Re: Hiding buttons based on role

2016-08-22 Thread Frank Maximus
eat step. > > Regards, > Marty Godsey > > -Original Message- > From: Rashmi Dixit [mailto:rashmi_di...@accelerite.com] > Sent: Thursday, August 18, 2016 8:15 AM > To: dev@cloudstack.apache.org > Subject: RE: Hiding buttons based on role > > Hi Marty, > > We

RE: Hiding buttons based on role

2016-08-18 Thread Marty Godsey
Subject: RE: Hiding buttons based on role Hi Marty, We could add an "actionPreFilter" for "actions" defined in the widgets which will filter out the buttons based on role. There are preFilters already implemented for fields in a listView - we need to follow the same princip

RE: Hiding buttons based on role

2016-08-18 Thread Rashmi Dixit
ere the buttons are built in the listView (look for "if (listViewData.actions) {" in listView.js). Hope this helps! Rashmi -Original Message- From: Marty Godsey [mailto:ma...@gonsource.com] Sent: Thursday, August 18, 2016 6:04 AM To: dev@cloudstack.apache.org Subject: RE: Hid

Re: Hiding buttons based on role

2016-08-18 Thread Rohit Yadav
ustom logic if the scope of it is rather small. Regards. From: Will Stevens Sent: 18 August 2016 06:19:24 To: dev@cloudstack.apache.org Subject: RE: Hiding buttons based on role Right. By one off, I mean, I don't expect the entire community to adopt this appr

RE: Hiding buttons based on role

2016-08-17 Thread Will Stevens
or the direction Will. > > Regards, > Marty Godsey > > -Original Message- > From: Will Stevens [mailto:williamstev...@gmail.com] > Sent: Wednesday, August 17, 2016 8:29 PM > To: dev@cloudstack.apache.org > Subject: RE: Hiding buttons based on role > > If I was doing

RE: Hiding buttons based on role

2016-08-17 Thread Marty Godsey
vailable. Thank you for the direction Will. Regards, Marty Godsey -Original Message- From: Will Stevens [mailto:williamstev...@gmail.com] Sent: Wednesday, August 17, 2016 8:29 PM To: dev@cloudstack.apache.org Subject: RE: Hiding buttons based on role If I was doing a one off solution for

RE: Hiding buttons based on role

2016-08-17 Thread Will Stevens
rty Godsey > > -Original Message- > From: Will Stevens [mailto:williamstev...@gmail.com] > Sent: Wednesday, August 17, 2016 8:10 PM > To: dev@cloudstack.apache.org > Subject: RE: Hiding buttons based on role > > Yes. Most of the UI is built using huge json structures. These w

RE: Hiding buttons based on role

2016-08-17 Thread Marty Godsey
"turn off" certain areas of the GUI and/or ACS functionality. Regards, Marty Godsey -Original Message- From: Will Stevens [mailto:williamstev...@gmail.com] Sent: Wednesday, August 17, 2016 8:10 PM To: dev@cloudstack.apache.org Subject: RE: Hiding buttons based on role Yes. Most

RE: Hiding buttons based on role

2016-08-17 Thread Will Stevens
7, 2016 7:23 PM > To: dev@cloudstack.apache.org > Subject: Re: Hiding buttons based on role > > My understanding is that the permissions can be set, but they currently do > not modify the UI in any way. I believe what you are experiencing is the > expected behavior. > > Cheers

RE: Hiding buttons based on role

2016-08-17 Thread Marty Godsey
buttons based on role My understanding is that the permissions can be set, but they currently do not modify the UI in any way. I believe what you are experiencing is the expected behavior. Cheers, Will On Aug 17, 2016 6:47 PM, "Marty Godsey" wrote: > Is it possible to hide a button

Re: Hiding buttons based on role

2016-08-17 Thread Will Stevens
My understanding is that the permissions can be set, but they currently do not modify the UI in any way. I believe what you are experiencing is the expected behavior. Cheers, Will On Aug 17, 2016 6:47 PM, "Marty Godsey" wrote: > Is it possible to hide a button based upon a role? As an example