Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6058597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:37:00+00:00 2026-05-23T08:37:00+00:00

I have a requirement that only super-admins can modify live data. Currently, if an

  • 0

I have a requirement that only super-admins can modify “live” data.

Currently, if an ordinary admin wants to make a change to live data:-

  1. A super-admin unpublishes the data
  2. The ordinary admin makes their changes
  3. A super-admin approves the changes and publishes the data

What are my options if I want to try to eliminate step 1 and have the old data remain live until the super-user approves the changes?

I’m using ASP.NET MVC and EF4 and so I’m particularly interested in solutions around EF that can be made transparent to my controller, however I’m also interested to hear about solutions in the database layer (or for entirely different contexts)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:37:01+00:00Added an answer on May 23, 2026 at 8:37 am

    First of all, since you’re talking about role-based activities taking place, I find it hard to come up with an appropriate solution that doesn’t involve the application/business tier. I believe your data access layer should be oblivious to the fact that a super-admin or an ordinary admin is calling its methods.

    In any case, one way to handle this would be to create a PendingChanges table and save ordinary admins’ changes to it with a flag indicating that it’s pending approval. Then once the super-admin approves it, you copy the record from PendingChanges into the live table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have got a requirement that mysql database can only be accessed from localhost.
I have a requirement that a user is allowed only to enter string value
How are people doing their validations on data? Basically I have a requirement that
Ok, i have a requirement to set a breakpoint that only gets hit when
I have the requirement that the end-user can change localized resources and the changes
I have a requirement to retemplate the ScrollBar so that only one Template is
I have a requirement from a customer that only DNS aliases may be used
In our project we have requirement that, after receiving sms message from third party
I have a requirement that a SPList should be sorted by the Priority field
I have a requirement that when the user clicks on [X] button of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.