Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Architecture for Role based Applications

Architecture for Role based Applications

Scheduled Pinned Locked Moved ASP.NET
csssharepointcomcollaborationarchitecture
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saboor awan
    wrote on last edited by
    #1

    hi, In my project, i have some roles like Department manager, Project manager, team leader,etc. Each member inroled in the role have some rights to view the progress of the on going project of the company. i want to assign some rights to each group of users like team leader can only view the progress of part of his project & can take action for all the members in his team(assign work among members), on the other hand, project manager can view all the teams working under his project(can take action to all members working under him), same to the department manager can view all the projects of the department(same actions he can perform). help me making some class hierarchy of my application which would help me. at the time of login and got the role of the incoming user,now how i work over the controls e,g, same grid for all users but if project manager view the form it will only show the info of his project and if depart manager get login it will show all projects of the whole department. i am looking for some "multi layer architecture" for the application. looking for reply. Saboor Ahmed Awan saboorahmedawan@gmail.com

    H 1 Reply Last reply
    0
    • S saboor awan

      hi, In my project, i have some roles like Department manager, Project manager, team leader,etc. Each member inroled in the role have some rights to view the progress of the on going project of the company. i want to assign some rights to each group of users like team leader can only view the progress of part of his project & can take action for all the members in his team(assign work among members), on the other hand, project manager can view all the teams working under his project(can take action to all members working under him), same to the department manager can view all the projects of the department(same actions he can perform). help me making some class hierarchy of my application which would help me. at the time of login and got the role of the incoming user,now how i work over the controls e,g, same grid for all users but if project manager view the form it will only show the info of his project and if depart manager get login it will show all projects of the whole department. i am looking for some "multi layer architecture" for the application. looking for reply. Saboor Ahmed Awan saboorahmedawan@gmail.com

      H Offline
      H Offline
      Hemant_ec48
      wrote on last edited by
      #2

      Hi... See class and everything you can design as per your requirement. I am giving answer to your last question.... while binding grid or dropdown each time u have to pass RoleId....& based on this role id only you fetch record from database only.... Hope your DB design will be fine so that u can use this roleid with inner join to other table. but you do everything at db level only... so if different different user will login they can see their related data only.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups