Row level user privileges help with designMySQL data modeling helpHelp with database designHow to properly...

Can I solder 12/2 Romex to extend wire 5 ft?

Meaning of word ягоза

Quitting employee has privileged access to critical information

Where is this quote about overcoming the impossible said in "Interstellar"?

Plagiarism of code by other PhD student

How does signal strength relate to bandwidth?

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

Why did the Cray-1 have 8 parity bits per word?

Is every open circuit a capacitor?

Why would the IRS ask for birth certificates or even audit a small tax return?

Difference between 'stomach' and 'uterus'

If nine coins are tossed, what is the probability that the number of heads is even?

Draw bounding region by list of points

Why is it "take a leak?"

GPL code private and stolen

Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?

PTIJ: Mordechai mourning

Make me a metasequence

Being asked to review a paper in conference one has submitted to

Find maximum of the output from reduce

Misplaced tyre lever - alternatives?

When was drinking water recognized as crucial in marathon running?

How do you say “my friend is throwing a party, do you wanna come?” in german

How does insurance birth control work?



Row level user privileges help with design


MySQL data modeling helpHelp with database designHow to properly design outgoing/incoming mailserver configuration per user?Adding users to a list and sort by category?Need help to design model with multiple rightsdesign database with 2 simillar tablesDatabase design help requiredDatabase design for assign ticket or task2-dimension Row Level Security DesignDatabase Design for tracking user flow













0















Say there are 2 tables Project and Task. How can I design Privileges table and assign permission like read/write/update/delete for each project/task from the above tables. Should I create two different tables like ProjectPrivileges and TaskPrivileges or in Privileges table add project_id and task_id columns as foreign_key? Which one is the right approach?









share







New contributor




akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Say there are 2 tables Project and Task. How can I design Privileges table and assign permission like read/write/update/delete for each project/task from the above tables. Should I create two different tables like ProjectPrivileges and TaskPrivileges or in Privileges table add project_id and task_id columns as foreign_key? Which one is the right approach?









    share







    New contributor




    akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Say there are 2 tables Project and Task. How can I design Privileges table and assign permission like read/write/update/delete for each project/task from the above tables. Should I create two different tables like ProjectPrivileges and TaskPrivileges or in Privileges table add project_id and task_id columns as foreign_key? Which one is the right approach?









      share







      New contributor




      akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Say there are 2 tables Project and Task. How can I design Privileges table and assign permission like read/write/update/delete for each project/task from the above tables. Should I create two different tables like ProjectPrivileges and TaskPrivileges or in Privileges table add project_id and task_id columns as foreign_key? Which one is the right approach?







      mysql database-design erd django





      share







      New contributor




      akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 6 mins ago









      akhilesh.saipangalluakhilesh.saipangallu

      1




      1




      New contributor




      akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      akhilesh.saipangallu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          akhilesh.saipangallu is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f231512%2frow-level-user-privileges-help-with-design%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








          akhilesh.saipangallu is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          akhilesh.saipangallu is a new contributor. Be nice, and check out our Code of Conduct.













          akhilesh.saipangallu is a new contributor. Be nice, and check out our Code of Conduct.












          akhilesh.saipangallu is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • 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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f231512%2frow-level-user-privileges-help-with-design%23new-answer', 'question_page');
          }
          );

          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







          Popular posts from this blog

          Anexo:Material bélico de la Fuerza Aérea de Chile Índice Aeronaves Defensa...

          Always On Availability groups resolving state after failover - Remote harden of transaction...

          update json value to null Announcing the arrival of Valued Associate #679: Cesar Manara ...