Replies: 1 comment
-
Well, this is what I'm trying to achieve also now, as I'm testing Orchid. I managed so far to have different menus depending on the user, even several menus for the same user, able to switch back and forth. Specifically: I'm building a SaaS, so the administrators must have access to a special admin area, where they can manage some things separately from anything else the SaaS offers to other users. As also, have access to the regular pages. This was actually very easy to achieve. I used the new Laravel Pennant package to create "features", which would represent the abilities or features available to specific types of users. This additionally helps abstracting away permissions and roles, which decouples them in a nice way and provides other benefits. Already, the feature can be assigned to specific users, which are gonna have available only specific menus and screens to them, even though, roles have not been fully implemented yet. This comes next, as I'm looking to replace Orchids integrated authentication with another package (specifically "Bouncer", as it allows objects to be owned and restricts access on entity ID). This should be though not a big issue I believe, just by simply ignoring Orchids authentication feature and do it the usual way - or use the alternative package inside of it, if possible. But it's still something I have to look at. The current selection happens in the
I have separated the menus to be constructed in separate methods. The
The
The only thing left is, to implement roles too, even though the So far Orchid has shown to be more flexible than any other package I tried in the past, where I would always hit a barrier regarding customization beyond the basic features. |
Beta Was this translation helpful? Give feedback.
-
My company sells software
My company wants a dashboard where regular users can update their details such as:
The devices they have registered to our software
Their software license numbers
And other things as well such as what level of software they own
I dont want a dashboard that is solely for admins, I want users that can only update their own details in addition to the "admin" users that can do everything such as delete users and stuff.
Is this viable with Orchid? And if so do I have to make my own register/create new user page?
If I have to make my own create new user page, what is the best way to do this with Orchid? How do I use the CSS styles from the login page into my register page?
Beta Was this translation helpful? Give feedback.
All reactions