Re: [dspace-tech] Re: OCID Authentication and groups
Hello Mark, I tried to to assign a fixed set of groups to *all* OIDC-authenticated sessions. A few minutes of work, became hours, and I am going around in circles. Any guidance would be very much appreciated. Best, G On Tuesday, March 21, 2023 at 9:18:34 AM UTC-6 Gabriela wrote: > Thank you Mark. This is very informative. > > I would like to assign a fixed set of groups to *all* OIDC-authenticated > sessions. > > Best, > G > > On Tuesday, March 21, 2023 at 8:26:47 AM UTC-6 Mark H. Wood wrote: > >> On Tue, Mar 21, 2023 at 10:08:13AM -0400, Mark H. Wood wrote: >> > On Mon, Mar 20, 2023 at 09:27:49PM -0700, Gabriela wrote: >> > > Am I missing something or there is no way to automatically add new >> users >> > > (created with OIDC Authentication) to a group ? >> >> I feel a need to address a common misconception. No part of DSpace >> adds new users to a group. DSpace optionally adds groups to a new >> *session* when the user uses a particular authentication method >> configured to do so. The user's recorded membership is unaltered, and >> you won't ever find those group memberships in the >> 'epersongroup2eperson' table. >> >> I should also ask you how you want the group assignment to work. Do >> you want to use OIDC-mediated user roles to control which groups are >> assigned to a session, or do you want to assign a fixed set of groups >> to *all* OIDC-authenticated sessions? The latter should be a few >> minutes' work; the former requires a bit more. >> >> -- >> Mark H. Wood >> Lead Technology Analyst >> >> University Library >> Indiana University - Purdue University Indianapolis >> 755 W. Michigan Street >> Indianapolis, IN 46202 >> 317-274-0749 <(317)%20274-0749> >> www.ulib.iupui.edu >> > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/419c004b-b74e-42fc-971b-45d3c70191d9n%40googlegroups.com.
[dspace-tech] error index-discovery
Hi dears. I was in the process of migrating from dspace 4 to dspace 7, but when it came to indexing the database it gave me the following error. org.apache.commons.cli.ParseException: Unable to create a new DSpace Context: null at org.dspace.discovery.IndexClient.setup(IndexClient.java:157) at org.dspace.scripts.DSpaceRunnable.parse(DSpaceRunnable.java:86) at org.dspace.scripts.DSpaceRunnable.initialize(DSpaceRunnable.java:75) at org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:148) at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98) this was produced by using the following command sudo /dspace/bin/dspace index-discovery -b Matias. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/56de3ebc-4d8a-4371-afde-e53b91af7835n%40googlegroups.com.
[dspace-tech] Process-Cleaner
Hi Everyone, When I run dspace process-cleaner --completed, it runs and says 0 items have been removed. However, I have about 120 processes that are complete. Am I missing something? Is it not working in DSpace 7.4 any longer? Jake -- Jake Cameron, BCS(UNB) Systems Support Specialist III Information Systems and Technical Services University of Lethbridge Library Phone:(403)329-2756 This e-mail, including any and all attachments, is only for the use of the intended recipient(s) and may contain information that is confidential or privileged. If you are not the intended recipient, you are advised that any dissemination, copying or other use of this e-mail is prohibited. Please notify the sender of the error in communication by return e-mail and destroy all copies of this e-mail. Thank you. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/YQBPR0101MB50311547645432359C116D8284869%40YQBPR0101MB5031.CANPRD01.PROD.OUTLOOK.COM.
[dspace-tech] Question with date type
Good afternoon everybody. We currently use dspace 6 with the Mirage theme. Is it possible, in the date fields, to use drop-down menus for the year (19xx - 2023), month (1 - 12) and day (1 - 31)? Is this configurable, or does it depend on the interface implementation? Regardless of the Interface, is it possible to make the day and month fields mandatory, and not just the year field? [image: image.png] Aroldo -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CACKFi%2Bc8Pm5jrkJRHZLeZW5acvNLLsUfKm%3DXT0Mv0nzq8LXYzw%40mail.gmail.com.
Re: [dspace-tech] Re: DSpace 7.5 intermittent errors with patch operations
Interesting. It sounds to me like there are two problems here, with a common source: o a (potentially) gigantic transaction is built up over a sequence of operations which should be unrelated; o a (potentially) gigantic queue of events which should be unrelated is built up within the curation run's Context. It sounds to me as though none of the tasks in the run is committing its work. The default curation scope is OPEN, so Curator is not committing. The event handler in question commits its own work, and in so doing, the first time it is called by the dispatcher, inadvertently commits all of the *other* curation work that should have been committed already. I can find no documentation for this, but it appears that event handlers should not commit work. The design of Context seems to depend on this. If true, we should document this requirement thoroughly. ++ It seems to me that a task designed to be run in OPEN scope must commit its own work. There is, however, a problem with this: Context contains only one Session. A bulk operation needs to keep a transaction open while it consumes the sequence of entities on which it is to operate, and also to be able to commit work (closing a transaction) whenever it modifies one of those entities. I suppose that one could work around this by draining the sequence into a List and then reloading them one at a time for processing, but how inefficient that is! -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/ZBshlJKj9oObgZOi%40IUPUI.Edu. signature.asc Description: PGP signature
[dspace-tech] URGENT issue index-discovery
In dspace 7.4 after I do index-discovery, items in users worksapce dissapear i found in database and item exist edocur=# select * from workspaceitem where item_id in (select uuid from item where submitter_id = (select uuid from eperson where netid like 'ivan.tamayo')); workspace_item_id | multiple_titles | published_before | multiple_files | stage_reached | page_reached | item_id| collection_id ---+-+--++---+--+--+ -- 55211 | f | f| f | -1 | -1 | b397bef8-e6e4-4fa7-9dc7-01a0d4805696 | 633f13b9-283d-4da4-ab65-1c0 f0ad6d476 and all metadata is in metadatavalue table. but in the user interface (mydspace?configuration=workspace) is empty. its like an error or lock in browse solr happends but i cant found the error Help please -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/1431366c-31c1-49c9-909c-d097a48fc19cn%40googlegroups.com.