Alpha Developers Network

Guest


Author Topic: USer Restrictions  (Read 1103 times)

0 Members and 1 Guest are viewing this topic.

WarrenD

  • Guest
USer Restrictions
« on: December 15, 2014, 06:01:48 AM »
How do I dynamically set from time to time a restriction for menus on different users, for example Id ont want the user or client to go to the ALpha anywhere development environement to choose or set menus and sub menus to a different user or user group. Sure I can set on Alpha ANywhere the Menu restrictions, and when I manage users on ATG web framework I Will just choose the group, but I want the user not to go to AA to change menus for different groups, Is there a way to just select the menus on the grid and allow or disalow a user?

Steve Wood

  • Administrator
  • Expert
  • *****
  • Posts: 706
  • Karma: +11/-0
    • AlphaToGo
  • Real Name: Steve Wood
Re: USer Restrictions
« Reply #1 on: December 15, 2014, 07:02:34 AM »
I assume you mean you have users in different groups with each group having a "boss" who wants to control what menu options their users have.

The Framework comes with two different Menus, the normal Alpha Navigation, and the Framework "mobile" navigation. You could build what you want with either of those menus. It would be easier with the Framework navigation because it is based on a Table and Grid whereas the Alpha Nav is totally dependent upon the Alpha Development environment.

In fact, an update to the Framework next week will include Security Groups added to the Framework Nav so that you CAN restrict who sees what menu node on the Framework Nav based on security. The Framework Nav is restricted to TWO levels of menu, whereas the Alpha Nav is unlimited. This is on purpose because the Framework Nav becomes a Mobile Nav on small devices and you just cannot get more than two levels in that mode.

But doing exactly what you want is this is outside of the current Framework product. So you would have to program it or ask us (or someone else) to do it as a paid project.
---
Steve Wood
www.alphatogo.com

Steve Wood

  • Administrator
  • Expert
  • *****
  • Posts: 706
  • Karma: +11/-0
    • AlphaToGo
  • Real Name: Steve Wood
Re: USer Restrictions
« Reply #2 on: January 04, 2015, 10:48:35 PM »
Warren,

Sorry for the delay (vacation). I never know exactly the cost. When you have a good idea of how it would look, write back (describe it). I can do it or have someone else do it, or try to describe better how you might do it yourself.
---
Steve Wood
www.alphatogo.com

Steve Wood

  • Administrator
  • Expert
  • *****
  • Posts: 706
  • Karma: +11/-0
    • AlphaToGo
  • Real Name: Steve Wood
Re: USer Restrictions
« Reply #3 on: January 07, 2015, 09:48:24 PM »
If you built a many-to-many related table between the Framework menu table and your users table you could probably accomplish this. You could never do this with the Alpha navigation so the Framework is an advantage. You should try to build this yourself as it is a good exercise.
---
Steve Wood
www.alphatogo.com

Steve Wood

  • Administrator
  • Expert
  • *****
  • Posts: 706
  • Karma: +11/-0
    • AlphaToGo
  • Real Name: Steve Wood
Re: USer Restrictions
« Reply #4 on: January 08, 2015, 01:14:20 AM »
Warren, what is your deadline? I think what I will do is see what other developers want to help build "add-ons" for the Framework. I won't have time for quite a while to divert my attention.
---
Steve Wood
www.alphatogo.com

Steve Wood

  • Administrator
  • Expert
  • *****
  • Posts: 706
  • Karma: +11/-0
    • AlphaToGo
  • Real Name: Steve Wood
Re: USer Restrictions
« Reply #5 on: January 08, 2015, 11:47:36 PM »
Sorry I would rather work up a system where other's can jump in and do the work. I cannot commit to anything other than core Framework for the next few months.
---
Steve Wood
www.alphatogo.com

Wolfgangg

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
  • Real Name: Wolfgangg
Re: USer Restrictions
« Reply #6 on: January 30, 2018, 07:44:53 PM »
Expression as well for your site that is appropriate for members.