Questions tagged [access-rights]

Rights granted to a user for a particular entity instance.

266 questions
2
votes
0 answers

SQL server service broker related rights issue

CREATE PROCEDURE [dbo].[stproc_ssb_send] (@iname varchar(20)) WITH EXECUTE AS 'xyz' AS BEGIN DECLARE @DIALOG_HANDLE UNIQUEIDENTIFIER DECLARE @MSG varchar(max) SET @MSG=' ' + @iname + ' ' BEGIN…
morex
  • 99
  • 1
  • 12
2
votes
1 answer

Windows Service: Install fonts

I have a Windows Service which is supposed to install fonts. I have a folder which contains the fonts, and I use this code to install them: [DllImport("gdi32.dll", EntryPoint = "AddFontResourceW", SetLastError = true)] public static extern int…
Dan Antal
  • 31
  • 3
2
votes
2 answers

Prevent that anybody can open include file directly in his browser

I have a file named startpage.inc.php and I want to include it but prevent, that anybody can open it in his Browser. Is it possible? Possible: To prevent: www.example.org/inc/startpage.inc.php
R2D2
  • 743
  • 1
  • 7
  • 14
2
votes
0 answers

AttributeError: 'Field name not found in browse_record(res.partner, 57)'

I am stuck in weird problem. When i try to login from ordinary user and then open some other user from my Human Resource's Employee module, I get this error AttributeError: 'Field name not found in browse_record(res.partner, 57)' Stack trace is as…
Saghir A. Khatri
  • 3,429
  • 6
  • 45
  • 76
2
votes
1 answer

Registry change permission remove other user rights

I would like to change ownership, then permission to a registry key. here the code I have so far : var id = WindowsIdentity.GetCurrent(); if (!Win32.SetPrivilege(Win32.TakeOwnership, true)) throw new Exception(); …
Bastiflew
  • 1,136
  • 3
  • 18
  • 31
2
votes
3 answers

Access rights database design

Which one would be a better pattern for designing a database for storing access rights? actor {actorid, name, password, canpost, cancomment,canremoveuser, candothis, candothat} actor {actorid, name, password} rights {actorid, action, isallowed}
2
votes
1 answer

load xml file in php - missing access rights?

I want to read a XML file from a certain link with the following code $filename = 'http://XXXXX/rss.xml'; $xml = simplexml_load_file($filename); When I try, I get the following error messages: wrapper is disabled in the server configuration by…
user896692
  • 2,351
  • 7
  • 36
  • 57
2
votes
1 answer

Restricting access to certain folders with a FolderBrowserDialog

I want to restrict what folder a person can choose to set their default save path in my app. Is there a class or method which would allow me to check access rights and either limit the user's options or show an error once they have made their…
The_Cthulhu_Kid
  • 1,839
  • 1
  • 31
  • 42
1
vote
1 answer

Difference between HasEditorAccess and HasEditAccess?

What is the difference between EPiServer.Security.PrincipalInfo.HasEditorAccess and EPiServer.Security.PrincipalInfo.HasEditAccess? //Alexander
anleon
  • 632
  • 3
  • 8
  • 22
1
vote
0 answers

Neovim changes permissions for file or directory

By accessing a file with use of sudo nvim . || filename, it changes permissions for the whole directory, or for a particular file After, if I will try to access file/directory with VSCode | WebStorm, file has read-only permission Terminals that I'm…
1
vote
2 answers

Odoo Smartbutton access rights for different model

I have added smartbutton in res.partner form view header that opens the current partner helpdesk tickets (helpdesk.ticket model). Smartbutton view (If i remove this code then button is removed and users can freely open partner form view)
xixo222
  • 157
  • 2
  • 9
1
vote
1 answer

What are the minimal role attributes required for odoo day-to-day use?

Most tutorials to setup odoo ERP create a superuser role for the web app user, which is odoo everywhere too, except in the documentation where it is said: For the database management screen to be completely non-functional, the PostgreSQL user needs…
lalebarde
  • 1,684
  • 1
  • 21
  • 36
1
vote
1 answer

Camunda Human Task not blocking users from other group from claiming the task

I am constructing a PoC using camunda BPM running on Springboot. I am starting with a simple process and would like to efficiently use all the access rights restrictions such as candidate groups assignment. Here is my process: Regardless of what…
Mike M
  • 23
  • 2
1
vote
1 answer

Making private repo inside an organization available to only some members

I am a part of a GitHub organization. I created a private repository inside this organization. Now, I see that all members of the organization get read access to it by default; however, I only want to collaborate with a few of them and do not want…
1
vote
1 answer

I want to create Access Rights by using MSPID for different organisations

My idea to do this was to use the MSPID. So I would get the MSPID of the organisation, if it is the wrong MSPID then it will return an error message and if it is the right MSPID then continue. In my code I only did it in the DeleteAsset function…