Git Product home page Git Product logo

hnjm / user-access Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cechov/user-access

1.0 2.0 0.0 405 KB

This is an assignment from Norges Yrkesakademi. Create an MVC Web site with database connection and turn on the EF Code First Migrations. Create the following data in the Configuration Class Seed Method: 1) To roles: admin and user 2) A user who is assigned the Administrator role Make necessary changes to AccountController so newly registered users get assigned the role User. Then create an AdminController with an index view and link from the main page. The Index view in AdminController displays all users and their role. Click on username links to a page where you can change the user's role. Create the page to change the role of a user. Add the opportunity to login / register with Facebook. Check that it is possible to change the role of users created in this way The admin pages should only be available, and link in menu should only be displayed, for logged in users with the role Administrator.

C# 89.35% CSS 0.50% ASP 0.10% JavaScript 10.05%

user-access's People

Contributors

cechov avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.