Is it better to share pages with normal user and admin?How to reset Django admin password?Enable links and other functionalities only for admin roleRestrict Administrator to Stop Service in VB.net 2010Page protection for the Admin page not workingPage protection does not work correctly for the Administrator pageBackbone.js: Admin InterfaceCreate new admin section in wordpress - for creating office-pagesWhere do i put the admin login page on my web appMongoDB - admin user not authorizedHow to hide admin login section to regular users
How long does it take to crack RSA 1024 with a PC?
What is the largest (size) solid object ever dropped from an airplane to impact the ground in freefall?
How do I align equations in three columns, justified right, center and left?
Is there any use case for the bottom type as a function parameter type?
Apparent Ring of Craters on the Moon
Can you heal a summoned creature?
Is this resistor leaking? If so, is it a concern?
If a person had control of every single cell of their body, would they be able to transform into another creature?
I unknowingly submitted plagiarised work
How bitcoin nodes update UTXO set when their latests blocks are replaced?
Integrating an absolute function using Mathematica
How do you say “buy” in the sense of “believe”?
Mother abusing my finances
Canon 70D often overexposing or underexposing shots
What are these (utility?) boxes at the side of the house?
Riley Rebuses that Share a Common Theme
Tabulated absorption spectra of greenhouse gases?
Windows 10 Programs start without visual Interface
Under what law can the U.S. arrest International Criminal Court (ICC) judges over war crimes probe?
What are the benefits of cryosleep?
How to capture more stars?
Why is desire the root of suffering?
How can people dance around bonfires on Lag Lo'Omer - it's darchei emori?
Why is this Simple Puzzle impossible to solve?
Is it better to share pages with normal user and admin?
How to reset Django admin password?Enable links and other functionalities only for admin roleRestrict Administrator to Stop Service in VB.net 2010Page protection for the Admin page not workingPage protection does not work correctly for the Administrator pageBackbone.js: Admin InterfaceCreate new admin section in wordpress - for creating office-pagesWhere do i put the admin login page on my web appMongoDB - admin user not authorizedHow to hide admin login section to regular users
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am new to web development but I have some experience in VB.Net desktop app programming. The software I am currently maintaining is only accessible within the company office network. Now that the management demanded the software to be accessible online, I have no choice but to convert it as a web-based system.
I had already started developing the software using laravel framework and so far so good. I successfully created the login form, few pages with CRUD implementation.
However, I came to a confusing part of development stage where I want to prevent some type of users from editing/adding/deleting records. Basically, there are two type of users I'm using which are Administrator and Normal User.
I already made many sections and pages, and I'm thinking of creating a duplicate version of these pages and folders for normal users only. This way I can remove some of the edit/delete/etc from the pages that are not needed for the user. But I'm still in dilemma because if I create duplicates for these pages, it would be tiresome to make changes in future when maintaining it.
So, what do you guys think? should I make a modified copy of the pages or just use the same pages for all users and disable some features based on user type?
laravel admin
add a comment |
I am new to web development but I have some experience in VB.Net desktop app programming. The software I am currently maintaining is only accessible within the company office network. Now that the management demanded the software to be accessible online, I have no choice but to convert it as a web-based system.
I had already started developing the software using laravel framework and so far so good. I successfully created the login form, few pages with CRUD implementation.
However, I came to a confusing part of development stage where I want to prevent some type of users from editing/adding/deleting records. Basically, there are two type of users I'm using which are Administrator and Normal User.
I already made many sections and pages, and I'm thinking of creating a duplicate version of these pages and folders for normal users only. This way I can remove some of the edit/delete/etc from the pages that are not needed for the user. But I'm still in dilemma because if I create duplicates for these pages, it would be tiresome to make changes in future when maintaining it.
So, what do you guys think? should I make a modified copy of the pages or just use the same pages for all users and disable some features based on user type?
laravel admin
ofcourse, it is bad habit to make copy of the pages in your scenairo. You can manage pages based on user's roles easily. There are plenty of good packages out there. I generally use this one : github.com/spatie/laravel-permission
– Kul
Mar 24 at 7:19
thanks for your feedback. yes, I'm thinking the same. I will try to learn more about laravel permission since this is the better approach. thanks..
– comudus
Mar 25 at 1:07
add a comment |
I am new to web development but I have some experience in VB.Net desktop app programming. The software I am currently maintaining is only accessible within the company office network. Now that the management demanded the software to be accessible online, I have no choice but to convert it as a web-based system.
I had already started developing the software using laravel framework and so far so good. I successfully created the login form, few pages with CRUD implementation.
However, I came to a confusing part of development stage where I want to prevent some type of users from editing/adding/deleting records. Basically, there are two type of users I'm using which are Administrator and Normal User.
I already made many sections and pages, and I'm thinking of creating a duplicate version of these pages and folders for normal users only. This way I can remove some of the edit/delete/etc from the pages that are not needed for the user. But I'm still in dilemma because if I create duplicates for these pages, it would be tiresome to make changes in future when maintaining it.
So, what do you guys think? should I make a modified copy of the pages or just use the same pages for all users and disable some features based on user type?
laravel admin
I am new to web development but I have some experience in VB.Net desktop app programming. The software I am currently maintaining is only accessible within the company office network. Now that the management demanded the software to be accessible online, I have no choice but to convert it as a web-based system.
I had already started developing the software using laravel framework and so far so good. I successfully created the login form, few pages with CRUD implementation.
However, I came to a confusing part of development stage where I want to prevent some type of users from editing/adding/deleting records. Basically, there are two type of users I'm using which are Administrator and Normal User.
I already made many sections and pages, and I'm thinking of creating a duplicate version of these pages and folders for normal users only. This way I can remove some of the edit/delete/etc from the pages that are not needed for the user. But I'm still in dilemma because if I create duplicates for these pages, it would be tiresome to make changes in future when maintaining it.
So, what do you guys think? should I make a modified copy of the pages or just use the same pages for all users and disable some features based on user type?
laravel admin
laravel admin
asked Mar 24 at 7:09
comuduscomudus
475
475
ofcourse, it is bad habit to make copy of the pages in your scenairo. You can manage pages based on user's roles easily. There are plenty of good packages out there. I generally use this one : github.com/spatie/laravel-permission
– Kul
Mar 24 at 7:19
thanks for your feedback. yes, I'm thinking the same. I will try to learn more about laravel permission since this is the better approach. thanks..
– comudus
Mar 25 at 1:07
add a comment |
ofcourse, it is bad habit to make copy of the pages in your scenairo. You can manage pages based on user's roles easily. There are plenty of good packages out there. I generally use this one : github.com/spatie/laravel-permission
– Kul
Mar 24 at 7:19
thanks for your feedback. yes, I'm thinking the same. I will try to learn more about laravel permission since this is the better approach. thanks..
– comudus
Mar 25 at 1:07
ofcourse, it is bad habit to make copy of the pages in your scenairo. You can manage pages based on user's roles easily. There are plenty of good packages out there. I generally use this one : github.com/spatie/laravel-permission
– Kul
Mar 24 at 7:19
ofcourse, it is bad habit to make copy of the pages in your scenairo. You can manage pages based on user's roles easily. There are plenty of good packages out there. I generally use this one : github.com/spatie/laravel-permission
– Kul
Mar 24 at 7:19
thanks for your feedback. yes, I'm thinking the same. I will try to learn more about laravel permission since this is the better approach. thanks..
– comudus
Mar 25 at 1:07
thanks for your feedback. yes, I'm thinking the same. I will try to learn more about laravel permission since this is the better approach. thanks..
– comudus
Mar 25 at 1:07
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55321489%2fis-it-better-to-share-pages-with-normal-user-and-admin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55321489%2fis-it-better-to-share-pages-with-normal-user-and-admin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
ofcourse, it is bad habit to make copy of the pages in your scenairo. You can manage pages based on user's roles easily. There are plenty of good packages out there. I generally use this one : github.com/spatie/laravel-permission
– Kul
Mar 24 at 7:19
thanks for your feedback. yes, I'm thinking the same. I will try to learn more about laravel permission since this is the better approach. thanks..
– comudus
Mar 25 at 1:07